/* Tropea Web Solutions — gemeinsames Design-System der Unterseiten */

@font-face {
  font-family: 'Bricolage';
  src: url('../fonts/bricolage-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-italic.woff2') format('woff2-variations');
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #faf7f2;
  --paper-2: #f2ece2;
  --ink: #16130f;
  --ink-2: #4a443b;
  --ink-3: #7d766a;
  --copper: #b06c3b;
  --copper-dark: #8f5127;
  --line: #e3dbcd;
  --card: #ffffff;
  --radius: 18px;
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: 'Bricolage', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  background: var(--paper); color: var(--ink);
  line-height: 1.6; font-weight: 380;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
em { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 460; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }

h1, h2, h3 { font-weight: 720; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 18px; }
h1 em, h2 em { color: var(--copper); font-weight: 500; }
h2 { font-size: clamp(26px, 3.8vw, 38px); margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 8px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--copper);
  margin-bottom: 14px;
}
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); max-width: 660px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
header.scrolled { box-shadow: 0 10px 34px -14px rgba(22,19,15,.16); }
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 480; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 640;
  border-radius: 999px; padding: 13px 26px; font-size: 15.5px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 6px 18px rgba(22,19,15,.18); }
.btn-copper { background: var(--copper); color: #fff; box-shadow: 0 6px 18px rgba(176,108,59,.28); }
.btn-ghost { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.nav .btn { padding: 10px 20px; font-size: 14.5px; }

/* Leistungen-Dropdown im Header */
.ndrop { position: relative; }
.ndrop-btn {
  display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 480; color: var(--ink-2); padding: 0;
}
.ndrop-btn:hover { color: var(--ink); }
.ndrop-btn svg { width: 11px; height: 11px; transition: transform .2s ease; flex: none; }
.ndrop.open .ndrop-btn svg { transform: rotate(180deg); }
.ndrop-menu {
  position: absolute; top: calc(100% + 20px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 310px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 26px 60px -18px rgba(22,19,15,.3); padding: 10px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 55;
}
.ndrop-menu::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.ndrop.open .ndrop-menu, .ndrop:focus-within .ndrop-menu {
  opacity: 1; pointer-events: auto; visibility: visible; transform: translateX(-50%);
}
@media (hover: hover) {
  .ndrop:hover .ndrop-menu { opacity: 1; pointer-events: auto; visibility: visible; transform: translateX(-50%); }
}
.ndrop-menu a {
  display: block; text-decoration: none; padding: 10px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 640; color: var(--ink);
}
.ndrop-menu a span { display: block; font-size: 12px; color: var(--ink-3); font-weight: 480; }
.ndrop-menu a:hover { background: var(--paper-2); }
.ndrop-menu a.on { background: #fffdf9; outline: 1px solid rgba(176,108,59,.4); }
.ndrop-sep { height: 1px; background: var(--line); margin: 8px 10px; }

/* Unterseiten-Hero */
.sub-hero { padding: 68px 0 56px; position: relative; overflow: hidden; }
.sub-hero::before {
  content: ""; position: absolute; top: -160px; right: -160px;
  width: 480px; height: 480px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, rgba(176,108,59,.14), rgba(176,108,59,0) 65%);
}
.sub-hero > .wrap { position: relative; z-index: 1; }
.crumb {
  display: inline-block; text-decoration: none; font-size: 13.5px; font-weight: 640;
  color: var(--ink-3); margin-bottom: 22px;
}
.crumb:hover { color: var(--copper); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Karten & Raster */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -18px rgba(22,19,15,.16); }
.card .ico {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(176,108,59,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card .ico svg { width: 20px; height: 20px; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(22,19,15,.2); }
.pcard.hi { border: 2px solid var(--copper); background: #fffdf9; }
.badge {
  position: absolute; top: -13px; right: 22px; background: var(--copper); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 4px 14px; border-radius: 999px;
}
.pcard .pname { font-size: 20px; font-weight: 740; }
.pcard .psub { font-size: 14px; color: var(--ink-3); margin: 2px 0 16px; }
.pcard .pprice { font-size: 34px; font-weight: 780; letter-spacing: -0.03em; }
.pcard .pprice small { font-size: 15px; font-weight: 560; color: var(--ink-3); letter-spacing: 0; }
.pcard .pnote { font-size: 12.5px; color: var(--ink-3); margin: 2px 0 18px; }
.pcard ul { list-style: none; flex: 1; }
.pcard li {
  font-size: 14.5px; padding: 8px 0 8px 26px; position: relative;
  border-top: 1px solid #f1ebe0; line-height: 1.45; color: var(--ink-2);
}
.pcard li::before { content: "✓"; position: absolute; left: 2px; color: var(--copper); font-weight: 800; }
.pcard li.plus::before { content: "+"; }
.pcard .btn { margin-top: 20px; text-align: center; }
.dnote {
  font-size: 12.5px; color: var(--ink-3);
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line);
}

/* Fakten-Zeilen (Checkliste) */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.fact {
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fact:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(22,19,15,.16); }
.fact b { display: block; font-size: 15px; }
.fact span { font-size: 13px; color: var(--ink-3); }

/* Abschnitts-Wechsel */
.sec-alt { background: var(--paper-2); }
.sec-dark { background: var(--ink); color: var(--paper); }
.sec-dark h2 { color: #fff; }
.sec-dark .kicker { color: #d89a67; }
.sec-dark .lead, .sec-dark p { color: #b9b2a5; }

/* FAQ */
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 12px; overflow: hidden;
}
summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 640; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--copper); flex: none; transition: transform .2s ease; }
details[open] summary::after { content: "–"; transform: rotate(180deg); }
details .a { padding: 0 22px 20px; font-size: 15px; color: var(--ink-2); }

/* CTA-Band */
.cta-card {
  background: var(--ink); color: var(--paper); border-radius: 24px;
  padding: 48px 46px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.cta-card h2 { color: #fff; }
.cta-card .lead { color: #b9b2a5; }
.c-actions { display: grid; gap: 14px; }
.c-btn {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 16px 20px; transition: background .15s ease, transform .25s ease;
}
.c-btn:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.c-btn .ci {
  width: 44px; height: 44px; border-radius: 12px; background: var(--copper);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.c-btn .ci svg { width: 20px; height: 20px; }
.c-btn > span:last-child { min-width: 0; }
.c-btn b { display: block; font-size: 16px; overflow-wrap: anywhere; }
.c-btn span { font-size: 13px; color: #b9b2a5; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.foot {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; gap: 12px 28px; flex-wrap: wrap; align-items: center;
  font-size: 13.5px; color: var(--ink-3);
}
.foot a { color: var(--ink-2); text-decoration: none; font-weight: 520; }
.foot a:hover { text-decoration: underline; }
.foot .sep { margin-left: auto; display: flex; gap: 22px; }

/* Reveals & Fokus */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv:nth-child(2) { transition-delay: .1s; }
.rv:nth-child(3) { transition-delay: .2s; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--copper); outline-offset: 3px; border-radius: 6px;
}
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--copper); z-index: 60; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .card, .pcard, .fact, .c-btn, summary::after { transition: none; }
  .card:hover, .pcard:hover, .fact:hover, .c-btn:hover { transform: none; }
}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 36px 26px; }
}
.burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger svg { width: 26px; height: 26px; }

@media (max-width: 760px) {
  section { padding: 56px 0; }
  .sub-hero { padding: 48px 0 44px; }
  .grid-2 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .nav-links, .nav > .btn { display: none; }
  .burger { display: block; }
  .nav.open .nav-links {
    display: block; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 4px 24px 22px; max-height: calc(100dvh - 72px); overflow-y: auto;
    box-shadow: 0 30px 50px -30px rgba(22,19,15,.28);
    animation: menuIn .22s ease;
  }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .nav.open .nav-links > a {
    display: block; padding: 14px 2px; font-size: 16.5px; font-weight: 600;
    color: var(--ink); text-align: left; border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links > a:last-child { border-bottom: 0; }
  .ndrop-btn { display: none; }
  .nav.open .ndrop { border-bottom: 1px solid var(--line); }
  .ndrop-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    width: auto; box-shadow: none; border: 0; background: none; padding: 0 0 12px;
  }
  .nav.open .ndrop-menu::before {
    content: "Leistungen"; position: static; display: block; height: auto;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--ink-3); padding: 16px 2px 6px;
  }
  .nav.open .ndrop-menu a {
    display: block; padding: 10px 2px 10px 14px; font-size: 15.5px; font-weight: 480;
    color: var(--ink-2); text-align: left; border: 0; border-radius: 0; background: none;
  }
  .nav.open .ndrop-menu a.on { color: var(--copper); font-weight: 640; outline: 0; }
  .ndrop-menu a span { display: none; }
  .ndrop-menu a:hover { background: none; }
  .ndrop-sep { display: none; }
  footer { padding: 30px 0 92px; }
  footer .foot:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; padding-bottom: 20px; }
  footer .foot:first-child > span {
    grid-column: 1 / -1; font-size: 11px !important; letter-spacing: 2px; text-transform: uppercase;
    color: var(--ink-3) !important; font-weight: 700 !important; margin-bottom: 4px;
  }
  footer .foot:first-child a { font-size: 14.5px; padding: 6px 0; }
  footer .foot:last-child {
    flex-direction: column; align-items: flex-start; gap: 12px;
    border-top: 1px solid var(--line); padding-top: 18px; font-size: 12.5px;
  }
  .foot .sep { margin-left: 0; gap: 20px; }
  .foot .sep a { font-size: 14px; }
}
