/* inter-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/inter-v20-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/inter-v20-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/inter-v20-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --brown: #332012;
    --brown-2: #4a2e18;
    --brown-3: #160e08;
    --gold: #d9aa45;
    --gold-2: #f3d98b;
    --cream: #fbf7ef;
    --white: #fff;
    --ink: #1e1712;
    --muted: #75695f;
    --radius: 26px;
    --shadow: 0 24px 70px rgba(36, 21, 10, 0.22);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
}
.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    background: var(--gold);
    color: #1b1008;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    z-index: 100;
}
.skip-link:focus {
    left: 1rem;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    transition: 0.3s;
    background: rgba(28, 17, 9, 0.58);
    backdrop-filter: blur(18px);
    color: #fff;
}
.site-header.is-scrolled {
    background: rgba(22, 14, 8, 0.9);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #211309;
    box-shadow: 0 10px 30px rgba(217, 170, 69, 0.24);
}
.main-nav {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}
.main-nav a {
    text-decoration: none;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 650;
}
.main-nav a:hover,
.main-nav a:focus-visible {
    background: rgba(217, 170, 69, 0.16);
    color: #fff;
    outline: none;
}
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 46px;
    height: 42px;
    padding: 0.5rem;
}
.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: #fff;
    margin: 6px;
    border-radius: 99px;
}
.section {
    padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 4rem);
}
.section-dark {
    background: radial-gradient(circle at top left, rgba(217, 170, 69, 0.2), transparent 35%),
        linear-gradient(135deg, var(--brown), var(--brown-3));
    color: #fff;
}
.section-light {
    background: linear-gradient(180deg, #fff, var(--cream));
    color: var(--ink);
}
.hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: 8rem clamp(1rem, 4vw, 4rem) 4rem;
}
.hero h1,
.section-heading h2,
.content-panel h2,
.contact-copy h2 {
    font-size: clamp(2.35rem, 6vw, 5.8rem);
    line-height: 0.95;
    margin: 0.25rem 0 1rem;
    letter-spacing: -0.06em;
}
.hero-text {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    max-width: 64ch;
    color: rgba(255, 255, 255, 0.78);
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: var(--gold-2);
    font-size: 0.78rem;
}
.eyebrow.dark {
    color: var(--brown-2);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.25s,
        box-shadow 0.25s,
        background 0.25s;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #201307;
    box-shadow: 0 16px 35px rgba(217, 170, 69, 0.3);
}
.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
}
.btn-dark {
    background: var(--brown);
    color: #fff;
}
.hero-card,
.image-panel {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.06);
}
.hero-card img,
.image-panel img {
    width: 100%;
    height: auto;
}
.trust-chip {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--brown);
    padding: 0.9rem 1rem;
    border-radius: 18px;
    font-weight: 800;
    text-align: center;
}
.section-heading {
    max-width: 820px;
    margin: 0 auto 2.5rem;
    text-align: center;
}
.section-heading p {
    color: var(--muted);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.price-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid rgba(51, 32, 18, 0.12);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: 0 20px 50px rgba(51, 32, 18, 0.08);
    min-height: 330px;
}
.price-card h3 {
    font-size: 1.35rem;
    margin: 0.2rem 0;
}
.size {
    color: var(--muted);
    font-weight: 750;
}
.price {
    font-size: 1.55rem;
    color: var(--brown);
    font-weight: 900;
}
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid rgba(51, 32, 18, 0.12);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 20px 50px rgba(51, 32, 18, 0.08);
  min-height: 330px;
}

/* Hervorgehobene Karte */
.price-card-featured {
  transform: translateY(-8px);
  border: 2px solid #c89b3c;
  box-shadow:
    0 24px 60px rgba(51, 32, 18, 0.15),
    0 0 0 4px rgba(200, 155, 60, 0.12);
}

/* Badge */
.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #c89b3c;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(200, 155, 60, 0.35);
}

.feature-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}
.feature-list div {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.feature-list strong,
.feature-list span {
    display: block;
}
.feature-list span {
    color: rgba(255, 255, 255, 0.72);
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.about-grid .section-heading {
    grid-column: 1/-1;
}
.info-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(51, 32, 18, 0.12);
    box-shadow: 0 18px 48px rgba(51, 32, 18, 0.08);
}
.info-card span {
    color: var(--gold);
    font-weight: 900;
}
.accordion {
    max-width: 900px;
    margin: auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font: inherit;
    font-weight: 850;
    padding: 1.1rem 1.2rem;
    cursor: pointer;
}
.accordion-trigger span::before {
    content: "+";
    color: var(--gold);
    font-size: 1.4rem;
}
.accordion-trigger[aria-expanded="true"] span::before {
    content: "–";
}
.accordion-panel {
    padding: 0 1.2rem 1.2rem;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.04);
}
.contact-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
.contact-form {
    display: grid;
    gap: 1rem;
    background: #fff;
    border-radius: var(--radius);
    padding: clamp(1rem, 3vw, 2rem);
    box-shadow: var(--shadow);
    border: 1px solid rgba(51, 32, 18, 0.1);
}
label {
    font-weight: 800;
}
input,
select,
textarea {
    width: 100%;
    margin-top: 0.35rem;
    border: 1px solid rgba(51, 32, 18, 0.2);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    font: inherit;
    background: #fff;
    color: var(--ink);
	font-weight: normal;
}
input:focus,
select:focus,
textarea:focus,
.btn:focus-visible {
    outline: 3px solid rgba(217, 170, 69, 0.55);
    outline-offset: 2px;
}
input[type='checkbox'] {
    width: 2rem !important;
	height: 2rem !important;
}
.checkbox {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-weight: 600;
}
.checkbox input {
    width: auto;
    margin-top: 0.35rem;
}
.hp-field {
    position: absolute;
    left: -5000px;
}
.form-note {
    font-weight: normal;
	font-size: 0.9rem;
    color: var(--muted);
}
.site-footer {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding: 2rem clamp(1rem, 4vw, 4rem);
    background: var(--brown-3);
    color: #fff;
}
.site-footer nav {
    display: flex;
    gap: 1rem;
}
.site-footer a {
    color: var(--gold-2);
    text-decoration: none;
}
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
.delay-1 {
    transition-delay: 0.12s;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    .reveal {
        transition: none !important;
        animation: none !important;
    }
}
@media (max-width: 980px) {
    .hero,
    .split,
    .contact-section {
        grid-template-columns: 1fr;
    }
    .pricing-grid,
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero {
        padding-top: 7rem;
    }
    .nav-toggle {
        display: block;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        display: grid;
        gap: 0.25rem;
        padding: 0.7rem;
        background: rgba(22, 14, 8, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 22px;
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: 0.25s;
    }
    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
    .main-nav a {
        padding: 1rem;
    }
}
@media (max-width: 640px) {
    .pricing-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    .site-footer {
        display: grid;
        text-align: center;
        justify-content: center;
    }
    .hero h1,
    .section-heading h2,
    .content-panel h2,
    .contact-copy h2 {
        font-size: clamp(2.2rem, 13vw, 3.5rem);
    }
    .section {
        padding-inline: 1rem;
    }
}
.legal-page,
.status-page {
    background: linear-gradient(135deg, var(--brown), var(--brown-3));
    min-height: 100svh;
    color: #fff;
    padding: 2rem;
}
.legal-page main,
.status-page main {
    max-width: 1000px;
    margin: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: clamp(1.2rem, 4vw, 3rem);
}
.legal-page p {
    color: rgba(255, 255, 255, 0.82);
}
.legal-page h1,
.status-page h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1;
}

/* Mobile header/menu stability fix */
.site-header {
    width: 100%;
    min-height: 72px;
    gap: 1rem;
    isolation: isolate;
}
.brand {
    min-width: 0;
    flex: 0 1 auto;
    white-space: nowrap;
}
.brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-toggle {
    flex: 0 0 auto;
    position: relative;
    z-index: 80;
    border-radius: 14px;
}
.nav-toggle:focus-visible {
    outline: 3px solid rgba(217, 170, 69, 0.65);
    outline-offset: 3px;
}

.tresova-logo {
    max-width: 3rem;
}

.tresova-logo-text {
    max-height: 2rem;
}

.info-text {
	text-align: justify;
	column-gap: 2rem;
	column-count: 3;
	column-fill: balance;
	margin-bottom: 2rem;
}

@media (max-width: 980px) {
    .site-header {
        padding: 0.75rem max(1rem, env(safe-area-inset-left)) 0.75rem max(1rem, env(safe-area-inset-right));
    }
    .main-nav {
        position: fixed;
        top: calc(72px + env(safe-area-inset-top));
        left: max(0.75rem, env(safe-area-inset-left));
        right: max(0.75rem, env(safe-area-inset-right));
        width: auto;
        max-width: none;
        max-height: calc(100svh - 88px);
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 70;
        transform: translate3d(0, -8px, 0) scale(0.98);
        transform-origin: top center;
    }
    .main-nav.is-open {
        transform: translate3d(0, 0, 0) scale(1);
    }
    .main-nav a {
        display: block;
        width: 100%;
        min-height: 48px;
    }
    body.nav-open {
        overflow: hidden;
        touch-action: none;
    }
	
	.info-text {
		text-align: justify;
		column-gap: 2rem;
		column-count: 3;
		column-fill: balance;
		margin-bottom: 2rem;
	}
}
@media (max-width: 380px) {
    .brand span:last-child {
        max-width: 42vw;
    }
    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }
    .nav-toggle {
        width: 42px;
    }	
}

/* Contact form responsive overflow fix */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

main,
.section,
.contact-section,
.contact-copy,
.contact-form {
    min-width: 0;
}

.contact-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.contact-form {
    width: min(100%, 760px);
    max-width: 100%;
    justify-self: stretch;
    overflow: hidden;
}

.contact-form label,
.contact-form .checkbox,
.contact-form .form-note {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button {
    max-width: 100%;
    min-width: 0;
}

.contact-form select {
    display: block;
    inline-size: 100%;
    text-overflow: ellipsis;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

.checkbox {
    align-items: flex-start;
}

.checkbox input {
    flex: 0 0 auto;
}

.checkbox a {
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .contact-section {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .contact-form {
        width: 100%;
        padding: clamp(1rem, 5vw, 1.35rem);
        border-radius: 22px;
    }
}

@media (max-width: 420px) {
    .contact-form {
        padding: 1rem;
        border-radius: 20px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.85rem 0.85rem;
        border-radius: 14px;
        font-size: 16px;
    }

    .contact-form .btn {
        width: 100%;
    }
	
	.info-text {
		text-align: justify;
		column-gap: 0;
		column-count: 1;
		column-fill: balance;
		margin-bottom: 2rem;
	}		
	
	.tresova-logo {
		max-width: 2rem;
	}

	.tresova-logo-text {
		max-height: 1.5rem;
	}		
}