/* =========================================================
   FIDAN Gebäudeservice – Stylesheet
   Farbwelt nach Flyer: Anthrazit, gebürstetes Silber, Türkis
   ========================================================= */

:root {
  --turkis: #2ec8da;
  --turkis-hell: #6fe6f2;
  --turkis-dunkel: #158a9c;
  --petrol: #1d5c69;
  --anthrazit: #24282c;
  --anthrazit-2: #2f3439;
  --anthrazit-3: #3b4147;
  --silber: #e4e7ea;
  --silber-2: #c8cdd2;
  --text-hell: #f3f6f8;
  --text-gedimmt: #b8c1c8;
  --text-dunkel: #1e2327;
  --radius: 14px;
  --schatten: 0 10px 30px rgba(0, 0, 0, .35);
  --glow: 0 0 18px rgba(46, 200, 218, .45);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.6;
  color: var(--text-hell);
  background: var(--anthrazit);
}
img { max-width: 100%; display: block; }
a { color: var(--turkis); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* Metallische Flächen */
.metal {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #f1f3f5 0%, #d3d8dc 55%, #bfc5ca 100%);
  color: var(--text-dunkel);
}
.dark-metal {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #33383d 0%, #262a2e 100%);
}

/* Lichtwellen (wie im Flyer) */
.waves { position: relative; overflow: hidden; isolation: isolate; }
.waves::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 18% at 30% 70%, rgba(46,200,218,.22), transparent 70%),
    radial-gradient(ellipse 50% 12% at 75% 40%, rgba(111,230,242,.16), transparent 70%);
  filter: blur(4px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px;
  font-weight: 700; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s, box-shadow .15s, background .15s;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, var(--turkis-hell), var(--turkis-dunkel));
  color: #062a30; box-shadow: var(--glow);
}
.btn-primary:hover { box-shadow: 0 0 28px rgba(46,200,218,.7); }
.btn-ghost { color: var(--text-hell); border: 2px solid var(--turkis); background: transparent; }
.btn-ghost:hover { background: rgba(46,200,218,.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 2px solid var(--turkis);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em;
  background: linear-gradient(180deg, var(--turkis-hell), var(--turkis-dunkel));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--anthrazit-3); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .dropdown > button {
  color: var(--text-dunkel); text-decoration: none; font-weight: 600;
  padding: 10px 12px; border-radius: 8px; background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer;
}
.nav > a:hover, .dropdown > button:hover { color: var(--petrol); background: rgba(29,92,105,.08); }
.nav .nav-phone { color: var(--petrol); white-space: nowrap; }
.nav .btn { margin-left: 6px; }

.dropdown { position: relative; }
.dropdown > button::after { content: " ▾"; font-size: .8em; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--anthrazit-2); border: 1px solid rgba(46,200,218,.4); border-radius: 12px;
  padding: 8px; box-shadow: var(--schatten);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown-menu a { display: block; padding: 9px 12px; color: var(--text-hell); text-decoration: none; border-radius: 8px; }
.dropdown-menu a:hover { background: rgba(46,200,218,.15); color: var(--turkis-hell); }
.dropdown-menu .sep { height: 1px; background: rgba(255,255,255,.1); margin: 6px 4px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--anthrazit); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--turkis); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.hero h1 .accent { color: var(--turkis); text-shadow: var(--glow); }
.hero .lead { font-size: 1.15rem; color: var(--text-gedimmt); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.tags li {
  padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  border: 1px solid rgba(46,200,218,.5); background: rgba(46,200,218,.08);
}
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: 20px; border: 2px solid rgba(46,200,218,.6); box-shadow: var(--schatten), var(--glow);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}
.hero-badge {
  position: absolute; left: -24px; bottom: -24px; padding: 16px 20px; border-radius: 14px;
  box-shadow: var(--schatten); border: 1px solid #fff;
}
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--petrol); line-height: 1; }
.hero-badge span { font-size: .9rem; font-weight: 600; }

/* Slogan-Band */
.slogan-band { padding: 26px 0; text-align: center; border-block: 2px solid var(--turkis); }
.slogan-band p {
  margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 3.4vw, 2.3rem); color: var(--petrol);
}

/* ---------- Sektionen ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--text-gedimmt); }
.metal .section-head p { color: #4a5157; }
.metal .eyebrow { color: var(--turkis-dunkel); }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.intro-grid h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--petrol); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(180deg, var(--turkis-hell), var(--turkis-dunkel));
  display: grid; place-items: center; box-shadow: var(--glow);
}
.check svg { width: 16px; height: 16px; }
.check-list strong { display: block; font-size: 1.05rem; }
.check-list span { color: #4a5157; font-size: .95rem; }
.dark-metal .check-list span { color: var(--text-gedimmt); }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.metal .btn-ghost { color: var(--petrol); }

/* Leistungen – Karten wie die Flyer-Kacheln */
.services { display: grid; gap: 34px; }
.service {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(46,200,218,.55);
  background: linear-gradient(135deg, rgba(59,65,71,.95), rgba(36,40,44,.95));
  box-shadow: var(--schatten), 0 0 24px rgba(46,200,218,.18);
}
.service:nth-child(even) .service-img { order: 2; }
.service-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.service-body { padding: 38px 40px; position: relative; }
.service-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.icon-ring {
  flex: none; width: 78px; height: 78px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbfcfd, #b9c0c6 60%, #8d969d);
  border: 3px solid var(--turkis); box-shadow: var(--glow), inset 0 2px 6px rgba(0,0,0,.25);
  display: grid; place-items: center;
}
.icon-ring svg { width: 40px; height: 40px; }
.service h3 { font-size: 2rem; color: var(--turkis-hell); margin: 0; border-left: 3px solid var(--turkis); padding-left: 14px; }
.service .claim { font-weight: 600; margin: 4px 0 0; padding-left: 17px; color: var(--text-hell); }
.service p { color: var(--text-gedimmt); }
.service ul { padding-left: 1.2em; margin: 0 0 20px; color: var(--text-hell); columns: 2; column-gap: 24px; }
.service ul li { margin-bottom: 4px; break-inside: avoid; }
.service ul li::marker { color: var(--turkis); }
.service .more { font-weight: 700; text-decoration: none; }
.services-cta { text-align: center; margin-top: 46px; }

/* Über uns */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.about-card {
  border-radius: 20px; padding: 40px; position: relative; text-align: center;
  box-shadow: var(--schatten); border: 2px solid var(--turkis);
}
.about-card img { width: 180px; margin: 0 auto 10px; }
.about-card .brand-name { font-size: 2.6rem; }
.about-card .brand-sub { font-size: 1.4rem; }
.about-card .tag {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--anthrazit); color: var(--turkis-hell); border: 1px solid var(--turkis);
  padding: 4px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem; white-space: nowrap;
}
.about-grid h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.value {
  padding: 18px; border-radius: 14px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(46,200,218,.3);
}
.value strong { color: var(--turkis-hell); display: block; font-family: var(--font-head); font-size: 1.3rem; }
.value span { color: var(--text-gedimmt); font-size: .95rem; }
.quote {
  margin: 0; padding: 18px 22px; border-left: 4px solid var(--turkis);
  background: rgba(46,200,218,.07); border-radius: 0 12px 12px 0; font-style: italic;
}

/* Warum FIDAN */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why {
  padding: 32px 28px; border-radius: 18px; background: rgba(255,255,255,.55);
  border: 1px solid #fff; box-shadow: 0 8px 22px rgba(0,0,0,.12); text-align: center;
}
.why .icon-ring { margin: 0 auto 18px; }
.why h3 { font-size: 1.6rem; color: var(--petrol); }
.why p { margin: 0; color: #4a5157; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; padding: 36px 28px 28px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(46,200,218,.35);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -22px; left: 28px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  background: linear-gradient(180deg, var(--turkis-hell), var(--turkis-dunkel)); color: #062a30; box-shadow: var(--glow);
}
.step h3 { font-size: 1.5rem; color: var(--turkis-hell); }
.step p { margin: 0; color: var(--text-gedimmt); }

/* CTA-Band */
.cta-band { padding: 70px 0; text-align: center; border-block: 2px solid var(--turkis); }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--petrol); }
.cta-band .regions { font-weight: 700; color: var(--anthrazit-3); letter-spacing: .04em; margin-bottom: 26px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-item {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(46,200,218,.3);
}
.info-item .check { width: 44px; height: 44px; }
.info-item .check svg { width: 22px; height: 22px; }
.info-item small { display: block; color: var(--text-gedimmt); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.info-item a, .info-item b { color: var(--text-hell); text-decoration: none; font-weight: 700; font-size: 1.1rem; word-break: break-word; }
.info-item a:hover { color: var(--turkis-hell); }

.form {
  padding: 34px; border-radius: 20px; box-shadow: var(--schatten); border: 2px solid var(--turkis);
}
.form h3 { font-size: 1.8rem; color: var(--petrol); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid #9aa3aa; background: #fff; color: var(--text-dunkel);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--turkis); box-shadow: 0 0 0 3px rgba(46,200,218,.3);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 20px; }
.consent input { margin-top: 4px; accent-color: var(--turkis-dunkel); }
.consent a { color: var(--petrol); font-weight: 700; }
.form-msg { margin-top: 14px; font-weight: 600; color: var(--petrol); display: none; }
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 0; border-top: 2px solid var(--turkis); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-family: var(--font-head); font-size: 1.3rem; color: var(--turkis-hell); margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-gedimmt); text-decoration: none; }
.footer-grid a:hover { color: var(--turkis-hell); }
.footer-brand p { color: var(--text-gedimmt); }
.footer-brand .brand-sub { color: var(--silber-2); }
.footer-bottom {
  margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; color: var(--text-gedimmt); font-size: .9rem;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { color: var(--text-gedimmt); text-decoration: none; }
.footer-bottom a:hover { color: var(--turkis-hell); }

/* Mobile Aktionsleiste */
.mobile-bar { display: none; }

/* ---------- Rechtsseiten ---------- */
.legal-hero { padding: 56px 0 40px; border-bottom: 2px solid var(--turkis); }
.breadcrumb { font-size: .9rem; color: #4a5157; margin-bottom: 10px; }
.breadcrumb a { color: var(--petrol); text-decoration: none; font-weight: 600; }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--anthrazit); margin-bottom: 10px; }
.legal-hero h1 .accent { color: var(--turkis-dunkel); }
.back-link { font-weight: 700; color: var(--petrol); text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.legal { padding: 60px 0 90px; }
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h2 {
  font-size: 1.75rem; color: var(--turkis-hell); margin-top: 2.2em; padding-bottom: 8px;
  border-bottom: 1px solid rgba(46,200,218,.35);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.3rem; color: var(--text-hell); margin-top: 1.6em; }
.legal-content p, .legal-content li { color: var(--text-gedimmt); }
.legal-content strong { color: var(--text-hell); }
.legal-content address { font-style: normal; padding: 18px 22px; border-left: 4px solid var(--turkis); background: rgba(46,200,218,.07); border-radius: 0 12px 12px 0; color: var(--text-hell); }
.legal-content .stand { margin-top: 3em; font-size: .9rem; }
.placeholder { background: rgba(255,200,0,.18); color: #ffd866; padding: 0 4px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--anthrazit-2); padding: 14px 16px 20px; gap: 2px;
    border-bottom: 2px solid var(--turkis); display: none;
  }
  .nav.open { display: flex; }
  .nav > a, .dropdown > button { color: var(--text-hell); text-align: left; width: 100%; }
  .nav .nav-phone { color: var(--turkis-hell); }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin: 4px 0 8px; }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open:hover .dropdown-menu { display: block; }

  .hero-grid, .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; bottom: -20px; }
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service-img { order: 0; }
  .service-img img { min-height: 220px; max-height: 300px; }
  .why-grid, .steps { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 70px; }
  .brand img { width: 50px; }
  .brand-name { font-size: 1.4rem; }
  .brand-sub { font-size: .9rem; }
  .service-body { padding: 26px 22px; }
  .service ul { columns: 1; }
  .service h3 { font-size: 1.6rem; }
  .icon-ring { width: 62px; height: 62px; }
  .icon-ring svg { width: 32px; height: 32px; }
  .values, .form-row { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--anthrazit-2); border-top: 2px solid var(--turkis);
  }
  .mobile-bar a {
    padding: 12px 4px; text-align: center; color: var(--text-hell); text-decoration: none; font-weight: 700; font-size: .85rem;
  }
  .mobile-bar a.primary { background: linear-gradient(180deg, var(--turkis-hell), var(--turkis-dunkel)); color: #062a30; }
}
