@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 300 800;
    font-style: italic;
    font-display: swap;
}

:root {
    --primary: #2e4a6b;
    --secondary: #82aee1;
    --accent: #ee5301;
    --accent-dark: #c94200;
    --text: #263645;
    --muted: #64748b;
    --light: #f6f8fb;
    --white: #fff;
    --border: #dce5ee;
    --shadow: 0 8px 24px rgba(15, 23, 42, .11);
    --shadow-hover: 0 14px 34px rgba(15, 23, 42, .18);
    --radius: 20px;
    --header-height: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Open Sans", Arial, sans-serif; color: var(--text); line-height: 1.65; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: #1756a9; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #ffbf86; outline-offset: 4px; }
address { font-style: normal; }
small { font-size: .88rem; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; transform: translateY(-150%); background: var(--white); color: var(--primary); padding: .7rem 1rem; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2rem), 1140px); margin-inline: auto; }
.content-narrow { width: min(100%, 780px); margin-inline: auto; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.lead { font-size: 1.15rem; }
.section { padding: 5rem 0; }
.section-anchor { scroll-margin-top: var(--header-height); }
.section-title { margin: 0 0 .85rem; color: var(--primary); text-align: center; font-size: clamp(2rem, 4vw, 2.65rem); line-height: 1.15; }
.section-subtitle { max-width: 720px; margin: 0 auto 3rem; color: var(--muted); text-align: center; font-size: 1.08rem; }
.card { background: var(--white); border: 1px solid rgba(220, 229, 238, .75); border-radius: var(--radius); box-shadow: var(--shadow); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 4px 16px rgba(15, 23, 42, .2); }
.header-container { width: 100%; padding: 1rem clamp(1.25rem, 4vw, 4.8rem); display: flex; align-items: center; gap: 1rem; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { display: block; height: 64px; width: auto; }
.nav-panel { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(.6rem, 2.4vw, 3.7rem); margin: 0; padding: 0; list-style: none; }
.nav-link { display: inline-block; color: var(--white); font-weight: 700; font-size: .97rem; text-decoration: none; text-transform: uppercase; white-space: nowrap; padding: .72rem 1.18rem; border-radius: 999px; transition: background-color .2s ease, transform .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.2); transform: translateY(-2px); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after, .nav-toggle-icon span { display: block; width: 32px; height: 3px; border-radius: 3px; background: var(--white); }
.nav-toggle-icon { position: relative; margin: auto; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -10px; }
.nav-toggle-icon::after { top: 10px; }

.hero-section { min-height: 100vh; padding-top: var(--header-height); display: grid; place-items: center; color: var(--white); text-align: center; background: linear-gradient(rgba(46,74,107,.78), rgba(238,83,1,.78)), url("../img/gruppenfoto.jpg") center/cover fixed; }
.hero-container { width: min(calc(100% - 2rem), 1800px); margin-inline: auto; }
.hero-content { padding: 4rem 1rem 2rem; }
.hero-content h1 { margin: 0 0 1.2rem; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1.05; text-shadow: 0 3px 8px rgba(0,0,0,.38); }
.hero-subtitle { max-width: 1180px; margin: 0 auto 1.3rem; color: #cfe2ff; font-size: clamp(1.25rem, 2.2vw, 1.85rem); text-shadow: 0 2px 4px rgba(0,0,0,.42); }
.hero-content p { text-shadow: 0 2px 4px rgba(0,0,0,.42); }
.button-group { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .85rem 1.55rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.button-primary { color: var(--white); background: var(--accent); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.button-primary:hover { color: var(--white); background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.27); }

.about-section { background: linear-gradient(135deg, rgba(248,249,250,.92), rgba(255,255,255,.92)), url("../img/about-1.jpg") center/cover fixed; }
.about-card { padding: clamp(1.5rem, 5vw, 3rem); }
.about-logo { max-height: 100px; width: auto; margin-bottom: 1rem; }
.status-note { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

.services-section { color: var(--white); background: linear-gradient(135deg, rgba(46,74,107,.91), rgba(130,174,225,.91)), url("../img/bluegray.jpg") center/cover fixed; }
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { height: 100%; padding: 2rem; color: var(--text); background: rgba(255,255,255,.96); border-radius: 16px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover, .team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-icon { min-height: 4rem; color: var(--accent); font-size: 3rem; line-height: 1; }
.foot-icon { filter: sepia(1) saturate(4) hue-rotate(-30deg) brightness(1.2); }
.service-card h3, .team-card h3 { margin: .2rem 0 .75rem; color: var(--primary); line-height: 1.25; }
.service-card p { min-height: 5.2rem; }
.service-card a { font-size: .9rem; }

.team-section { background: linear-gradient(135deg, rgba(248,249,250,.92), rgba(255,255,255,.92)), url("../img/tanjatonagel.jpg") center/cover fixed; }
.team-card { overflow: hidden; height: 100%; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.team-card img { display: block; width: 100%; height: 440px; object-fit: cover; object-position: center top; }
.team-card-body { padding: 1.45rem; }
.team-card-body p:last-child { margin-bottom: 0; font-size: .92rem; }
.role { margin: 0 0 .7rem; color: var(--muted); font-weight: 700; }

.pricing-section { color: var(--white); background: linear-gradient(135deg, rgba(238,83,1,.9), rgba(46,74,107,.9)), url("../img/bluegray.jpg") center/cover fixed; }
.pricing-card { position: relative; overflow: hidden; margin-bottom: 2rem; border-radius: var(--radius); background-position: center; background-size: cover; box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.pricing-card-wellness { background-image: url("../img/wellness.jpg"); }
.pricing-card-classics { background-image: url("../img/klassiker.jpg"); }
.pricing-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.34); }
.pricing-overlay-dark { background: rgba(0,0,0,.44); }
.pricing-content { position: relative; z-index: 1; padding: clamp(1.4rem, 4vw, 2.2rem); }
.pricing-content h3 { margin: 0; text-align: center; font-size: 1.6rem; }
.pricing-hint { margin: .6rem 0 2rem; color: #e4e8ed; text-align: center; font-style: italic; }
.price-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.price-row:last-of-type { border-bottom: 0; }
.price-row h4 { margin: 0 0 .2rem; font-size: 1rem; }
.price-row p { margin: 0; color: #ddd; font-size: .9rem; }
.price-row strong { flex: 0 0 auto; white-space: nowrap; font-size: 1.18rem; }
.new-badge { display: inline-block; margin-right: .35rem; padding: .1rem .35rem; color: var(--white); background: #f39200; border-radius: 4px; font-size: .72rem; letter-spacing: .08em; }
details summary { cursor: pointer; font-weight: 700; }
details > p { margin-top: .7rem !important; padding: .7rem; color: #f2f4f7 !important; background: rgba(255,255,255,.12); border-radius: 8px; font-style: italic; }
.pricing-callout { margin: 1.4rem 0 0; text-align: center; font-weight: 700; }
.price-legal { margin: 1.5rem 0 0; color: #e4e8ed; font-size: .84rem; text-align: center; }

.contact-section { color: var(--white); background: linear-gradient(135deg, rgba(46,74,107,.91), rgba(130,174,225,.91)), url("../img/about-2.jpg") center/cover fixed; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.contact-card, .map-card, .faq-card { color: var(--text); background: rgba(255,255,255,.97); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card, .map-card { padding: 2rem; }
.contact-card h3, .map-card h3, .faq-card h3 { margin-top: 0; color: var(--primary); }
.contact-item { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: start; margin-bottom: 1.25rem; }
.contact-symbol { font-size: 1.35rem; }
.map-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.map-card .button { margin-top: .5rem; }
.faq-card { margin-top: 1.5rem; padding: 1.5rem 2rem; }
.faq-card details { padding: .8rem 0; border-top: 1px solid var(--border); }
.faq-card details:first-of-type { border-top: 0; }
.faq-card details > p { color: var(--text) !important; background: var(--light); font-style: normal; }

.site-footer { padding: 3rem 0 1rem; color: var(--white); background: var(--primary); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
.footer-logo { max-height: 60px; width: auto; margin-bottom: 1rem; }
.site-footer h2 { margin-top: 0; color: var(--secondary); font-size: 1.15rem; }
.site-footer a { color: var(--white); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: .45rem; }
.copyright { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.16); text-align: center; font-size: .9rem; }

/* Rechtliche Unterseiten */
.legal-body { background: var(--light); }
.legal-header { position: sticky; }
.legal-header .header-container { min-height: 76px; }
.legal-header .brand img { height: 52px; }
.legal-nav { display: flex; gap: .5rem; margin-left: auto; }
.legal-nav a { color: var(--white); font-weight: 700; text-decoration: none; padding: .45rem .75rem; border-radius: 999px; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { background: rgba(255,255,255,.18); }
.legal-hero { padding: 4rem 0; color: var(--white); text-align: center; background: linear-gradient(135deg, rgba(46,74,107,.91), rgba(238,83,1,.8)), url("../img/bluegray.jpg") center/cover; }
.legal-hero h1 { margin: 0 0 .6rem; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; }
.legal-main { padding: 3rem 0; }
.legal-card { padding: clamp(1.3rem, 4vw, 2.5rem); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-card h2 { margin: 2rem 0 .7rem; padding-bottom: .35rem; color: var(--primary); border-bottom: 2px solid #dce9f8; font-size: 1.5rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 1.4rem 0 .45rem; font-size: 1.08rem; }
.legal-card p, .legal-card ul { margin-top: 0; margin-bottom: 1rem; }
.legal-card ul { padding-left: 1.25rem; }
.info-box, .notice-box { padding: 1rem 1.2rem; border-radius: 10px; margin: 1rem 0 1.3rem; }
.info-box { background: #eef6ff; border-left: 4px solid var(--secondary); }
.notice-box { background: #fff7ed; border-left: 4px solid var(--accent); }
.muted { color: var(--muted); }

@media (max-width: 1200px) {
    .header-container { padding-inline: 2rem; }
    .nav-list { gap: .8rem; }
    .nav-link { padding-inline: .9rem; font-size: .9rem; }
}

@media (max-width: 991px) {
    :root { --header-height: 80px; }
    .header-container { flex-wrap: wrap; padding: .7rem 1.25rem; }
    .brand img { height: 56px; }
    .js .nav-toggle { display: block; }
    .js .nav-panel { display: none; width: 100%; margin-left: 0; }
    .js .nav-panel.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; padding: .65rem 0 .4rem; }
    .nav-link { display: block; padding: .7rem 1rem; }
    .hero-section, .about-section, .services-section, .team-section, .pricing-section, .contact-section { background-attachment: scroll; }
    .hero-content { padding-top: 3rem; }
    .card-grid-three { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .legal-header .header-container { flex-wrap: nowrap; }
}

@media (max-width: 680px) {
    .section { padding: 3.5rem 0; }
    .card-grid-three { grid-template-columns: 1fr; }
    .team-card img { height: 500px; }
    .service-card p { min-height: 0; }
    .price-row { align-items: flex-start; }
    .legal-header .brand img { height: 44px; }
    .legal-nav { gap: .1rem; }
    .legal-nav a { padding: .4rem .5rem; font-size: .84rem; }
}

@media (max-width: 430px) {
    .hero-content h1 { font-size: 2.55rem; }
    .hero-subtitle { font-size: 1.15rem; }
    .team-card img { height: 420px; }
    .price-row { flex-direction: column; gap: .45rem; }
    .price-row strong { align-self: flex-end; }
    .contact-card, .map-card, .faq-card { padding: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
    .site-header, .site-footer, .skip-link, .legal-header { display: none !important; }
    body, .legal-body { background: #fff; }
    .legal-main { padding: 0; }
    .legal-card { border: 0; box-shadow: none; padding: 0; }
    a { color: #000; text-decoration: none; }
}
