/* v10 — Bärenhaus: Warm modern, editorial feel */

/* Local Fonts */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/dm-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/dm-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/dm-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/dm-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-serif-display-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-serif-display-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #ffffff;
  --bg-alt: #fef9f0;
  --text: #2d2a26;
  --text-muted: #6b6560;
  --accent: #e8922a;
  --accent-light: #fdf3e4;
  --card-bg: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.08);
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); color: var(--text); background: var(--bg-alt); line-height: 1.7; font-size: 16px; }

a { color: var(--accent); text-decoration: none; }
.email { color: var(--accent); }
a:hover { text-decoration: underline; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 100; background: #ffffff; border-bottom: 1px solid rgba(0,0,0,.08); }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: .75rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.logo img { height: 44px; }
.header-info { display: flex; align-items: center; gap: 1.5rem; flex: 1; justify-content: center; font-size: .75rem; color: var(--text-muted); white-space: nowrap; }
.header-info a { color: var(--text-muted); white-space: nowrap; text-decoration: none; }
.header-info a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.no-underline { text-decoration: none; display: inline-block; }
.header-info span { white-space: nowrap; }
.main-nav { display: flex; gap: 1.5rem; }
.main-nav a { color: var(--text); font-weight: 500; font-size: .9rem; }
.main-nav a:hover { color: var(--accent); text-decoration: none; }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 1024px) {
  .burger { display: flex; margin-left: auto; }
  .header-info { display: none; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; flex-direction: column; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,.08); }
  .main-nav.open { display: flex; }
  .hero-badges { grid-column: 1 / -1; justify-content: center; }
  .hero-badges img { height: 80px; }
  .hero-badges img:nth-child(2) { height: 76px; }
  .hero-badges img:nth-child(3) { height: 68px; }
}

/* HERO */
.hero-fullbleed { position: relative; height: 65vh; min-height: 400px; overflow: hidden; }
.hero-fullbleed-img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: center 55%; }
.hero-fullbleed-overlay { position: absolute; inset: 0; display: flex; align-items: flex-start; padding: 3rem; padding-left: calc(8rem - 1cm); padding-top: calc(6rem - 2cm); padding-bottom: 10rem; background: linear-gradient(135deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 50%, transparent 100%); color: #fff; }
.hero-overlay-left { }
.hero-overlay-desc { font-size: 1.06rem !important; margin-top: 1rem; opacity: .9; text-align: justify; }
.hero-fullbleed-overlay h1 { font-family: var(--font-display); font-size: clamp(1.94rem, 4.04vw, 2.91rem); line-height: 1.15; margin-bottom: .5rem; }
.hero-fullbleed-overlay h1 em { font-style: normal; color: #f5c46a; }
.hero-fullbleed-overlay p { font-size: 1.19rem; opacity: .9; }
.hero-tagline { font-size: 1.105rem !important; margin-top: .75rem; opacity: .8 !important; letter-spacing: .02em; }
.hero-below { background: var(--bg); padding: 0 1.5rem 2rem; }
.hero-cta-overlap { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: -8rem; position: relative; z-index: 2; align-items: stretch; }
.faktenbox-white { background: var(--card-bg); padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--accent); margin-top: 0; }
.hero { max-width: var(--max-w); margin: 0 auto; padding: 4rem 1.5rem 1rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem 3rem; align-items: stretch; position: relative; z-index: 1; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.15; margin-bottom: .75rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 1rem; }
.hero-groups-list { list-style: none; padding: 0; margin: .5rem 0 1.25rem; }
.hero-groups-list li { padding: .7rem 0 .7rem 1.5rem; position: relative; border-bottom: 1px solid var(--accent-light); }
.hero-groups-list li:last-child { border-bottom: none; }
.hero-groups-list li::before { content: "●"; position: absolute; left: .25rem; top: .85rem; font-size: .6rem; color: var(--accent); }
.hero-groups-list.compact li { padding: .35rem 0 .35rem 1.5rem; line-height: 1.5; }
.hero-groups-list.compact li::before { top: .15rem; }
.hero-hours { font-weight: 500; margin-bottom: 1.5rem; }
.faktenbox { background: var(--accent-light); padding: 1.25rem 1.5rem; border-radius: var(--radius); margin-top: 1rem; border: 1px solid var(--accent); }
.faktenbox-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--accent); margin: 0 0 .25rem; }
.faktenbox .hero-groups-list { margin: 0; }
.faktenbox .hero-groups-list li { border-bottom-color: rgba(232,146,42,.15); }
.hero-badges { display: flex; align-items: center; gap: 0.5rem; justify-content: center; align-self: center; }
.hero-badges img { height: 112px; width: auto; }
.hero-badges img:nth-child(2) { height: 106px; }
.hero-badges img:nth-child(3) { height: 95px; }

.hero-cta { display: flex; flex-direction: column; gap: 1rem; }
.cta-card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 1.25rem 1.25rem 0.1rem; box-shadow: var(--shadow-lg); border: 1px solid var(--accent); }
.cta-card > *:last-child { margin-bottom: 0.6rem; }
.cta-card h2 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 .75rem; color: var(--accent); }
.cta-card h3 { font-size: 1.1rem; margin: .25rem 0 .5rem; }
.cta-label { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.cta-card-sm { padding: 1rem 1.5rem; }
.cta-contact { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--bg-alt); }

@media (max-width: 768px) {
  .hero-fullbleed { height: 50vh; min-height: 300px; }
  .hero-fullbleed-overlay { padding: 1.5rem; padding-left: 1.5rem; }
  .hero-overlay-left { padding-top: 2rem; margin-left: 0; }
  .hero-cta-overlap { grid-template-columns: 1fr; margin-top: -2rem; padding: 0 1rem; }
  .hero-badges { flex-wrap: wrap; gap: 0.25rem; }
  .hero-badges img { height: 56px; }
  .hero-badges img:nth-child(2) { height: 53px; }
  .hero-badges img:nth-child(3) { height: 48px; }
  .desktop-only { display: none; }
  .scroll-top { right: 1rem; bottom: 1rem; }
  .hero { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .hero-groups { flex-direction: column; }
}

/* Prevent any element from causing horizontal scroll */
body { overflow-x: hidden; }
*, *::before, *::after { max-width: 100%; }

/* TRUST STRIP */

/* GALLERY */
.gallery-grid-section { padding: 1.5rem 0; background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .25rem; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.gallery-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.lightbox { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.9); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 3rem; cursor: pointer; padding: 1rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* SECTIONS */
.section { max-width: var(--max-w); margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.section:not(.section-alt) { background: var(--bg); max-width: none; }
.section:not(.section-alt) > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
section#impressum { padding: .5rem 1.5rem .5rem; background: var(--bg-alt); max-width: none; margin: 0; }
section#impressum > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
#kontakt { padding-bottom: 0; }
section#datenschutz { padding: .5rem 1.5rem 1rem; background: var(--bg-alt); max-width: none; margin: 0; }
section#datenschutz > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.section-alt { background: var(--bg-alt); max-width: none; }
.section-alt > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.section-light { background: #faf8f5; max-width: none; }
.section-light > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.section-header { margin-bottom: 1.25rem; }
.section-header h2 { font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.section-intro { color: var(--text-muted); font-size: 1.1rem; margin-top: .25rem; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.15rem; margin-bottom: .75rem; color: var(--accent); }
.card h4 { font-size: .95rem; margin: 1rem 0 .25rem; color: var(--text); font-weight: 600; }
.card p { margin-bottom: .75rem; text-align: justify; }
.card-wide { grid-column: 1 / -1; }
.card-wide p { text-align: left; }
.card-subgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: .5rem; }
.card-subgrid h4 { margin-top: 0; }
.card-cta { background: var(--accent-light); border: 1px solid var(--accent); }
.card-cta h3 { color: var(--accent); }
.card table { width: 100%; border-collapse: collapse; }
.card table td { padding: .4rem .5rem .4rem 0; vertical-align: top; }
.card table td:first-child { font-weight: 600; white-space: nowrap; padding-right: 1rem; }

@media (max-width: 900px) {
  .card-wide { grid-column: 1 / -1; }
  .card-subgrid { grid-template-columns: 1fr; gap: 0; }
  .card-subgrid h4 { margin-top: 1rem; }
}
.card blockquote { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent); margin: 1.5rem 0; padding-left: 1rem; border-left: 3px solid var(--accent); }
.card-highlight { background: var(--accent-light); }

/* CONTENT BLOCKS */
.content-block { margin-bottom: 2.5rem; }
.content-block h3 { font-family: var(--font-display); font-size: 2rem; color: var(--accent); margin-bottom: 1.25rem; }
.content-block p, .content-block ul { margin-bottom: .75rem; }
.content-block ul { padding-left: 1.25rem; }
.content-block li { margin-bottom: .4rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* TABLES */
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; }
th, td { padding: .6rem .75rem; text-align: left; border-bottom: 1px solid rgba(0,0,0,.06); }
th { font-weight: 600; background: var(--bg-alt); }
.fees-table th:first-child, .fees-table td:first-child { font-weight: 500; }
.note { font-size: .85rem; color: var(--text-muted); font-style: italic; }

/* STEPS */
.steps { padding-left: 1.25rem; counter-reset: step; list-style: none; }
.steps li { counter-increment: step; margin-bottom: .75rem; padding-left: .5rem; }
.steps li::before { content: counter(step) "."; font-weight: 700; color: var(--accent); margin-right: .5rem; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.contact-card-accent { border: 1px solid var(--accent); }
.contact-card h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); margin-bottom: .75rem; }

.btn { display: inline-block; background: var(--accent); color: #fff; padding: .6rem 1.5rem; border-radius: var(--radius); font-weight: 500; }
.btn:hover { text-decoration: none; opacity: .9; }

/* TEAM */
.team-list { list-style: none; padding: 0; }
.team-list li { padding: .4rem 0; border-bottom: 1px solid rgba(0,0,0,.04); }

/* BADGES */

/* LEGAL */
details summary { cursor: pointer; list-style: none; }
details summary h2 { font-family: var(--font-display); font-size: 1.5rem; display: inline; color: var(--accent); }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "▸ "; color: var(--accent); }
details[open] summary::before { content: "▾ "; }
.legal { padding: 1.5rem 0; font-size: .9rem; color: var(--text-muted); line-height: 1.8; }
.legal h3 { color: var(--text); margin: 1.5rem 0 .5rem; font-size: 1rem; }
.legal p { margin-bottom: .75rem; }

/* SCROLL TO TOP */
.scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; border: none; font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; z-index: 99; }
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: #d17f1f; }

/* FOOTER */
.site-footer { background: var(--bg-alt); color: var(--text-muted); padding: .75rem 1.5rem; text-align: center; }
.footer-legal { font-size: .8rem; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent); }

@media (max-width: 600px) {
}
.footer-legal { max-width: var(--max-w); margin: 0 auto; font-size: .8rem; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent); }
