/* ============================================================
   SCHMIDTKE GLASDESIGN – Mobile-First CSS 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ── Variablen ─────────────────────────────────────────────── */
:root {
  --green:      #1E6B57;
  --green-h:    #2A8569;
  --accent:     #4ECDA4;
  --accent-bg:  rgba(78,205,164,.14);
  --bg:         #0C1017;
  --surface:    #131B25;
  --surface2:   #1A2535;
  --border:     rgba(255,255,255,.08);
  --border-h:   rgba(78,205,164,.32);
  --text:       #EEF4FB;
  --muted:      #8A96A8;
  --nav-h:      80px;
  --r:          14px;
  --r-sm:       9px;
  --shadow:     0 8px 32px rgba(0,0,0,.38);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  background-image:
    radial-gradient(ellipse 700px 400px at 8% 4%,  rgba(30,107,87,.13), transparent 60%),
    radial-gradient(ellipse 500px 350px at 92% 85%, rgba(78,205,164,.07), transparent 55%);
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--accent); text-decoration: none; }
ul   { list-style: none; }

/* ── Layout-Wrapper ────────────────────────────────────────── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ============================================================
   NAVIGATION – Logo Mitte, Links & Rechts
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #0c1117;
  border-bottom: 1px solid var(--border);
  height: 80px;
  overflow: hidden;
}

/* Zweizeiliges Nav-Layout auf Desktop */
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  gap: 0;
  position: relative;
}

/* Logo – Mitte */
.nav-logo        { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; order: 2; margin: 0 36px; }
.nav-logo img    { height: 58px !important; width: auto !important; display: block; mix-blend-mode: screen; }
.nav-social { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
.nav-social a { color: var(--muted); line-height: 1; transition: color .18s; }
.nav-social a:hover { color: var(--accent); }

/* Linke Nav-Links */
.nav-left {
  display: none;
  align-items: center;
  gap: 2px;
  order: 1;
  justify-content: flex-end;
}
.nav-left a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav-left a:hover,
.nav-left a.active { color: var(--accent); background: rgba(255,255,255,.06); }
.nav-left a.active  { color: var(--accent); }

/* Rechte Seite – direkt rechts neben dem Logo */
.nav-right {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  order: 3;
}
.nav-right-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-right-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  transition: color .18s, background .18s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-right-links a:hover { color: var(--accent); background: rgba(255,255,255,.06); }

/* "bald"-Chips in der Nav */
.nav-soon {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  opacity: .6;
  padding: 7px 13px;
  cursor: default;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-soon em {
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(78,205,164,.12);
  border-radius: 4px;
  padding: 1px 5px;
  opacity: 1;
}

/* Hamburger */
.burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  order: 4;
  transition: border-color .18s;
  -webkit-tap-highlight-color: transparent;
}
.burger:hover { border-color: var(--border-h); }
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobil-Menü */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(10,14,20,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 199;
  flex-direction: column;
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.mobile-nav a,
.mobile-soon {
  font-size: 18px;
  font-weight: 600;
  padding: 16px 20px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  color: var(--text);
  display: block;
  transition: background .18s, border-color .18s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav a:hover { background: var(--surface); border-color: var(--border-h); }
.mobile-soon {
  color: var(--muted);
  opacity: .5;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.mobile-soon small {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(78,205,164,.12);
  padding: 2px 7px;
  border-radius: 5px;
}
.mobile-contact {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-contact a {
  font-size: 15px;
  color: var(--muted);
  padding: 8px 4px;
  transition: color .18s;
  display: block;
}
.mobile-contact a:hover { color: var(--text); }

/* Desktop: alles einblenden ab 860px */
@media (min-width: 860px) {
  .nav-left  { display: flex; }
  .nav-right { display: flex; }
  .nav-logo-contact { display: flex; }
  .burger    { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 18px rgba(30,107,87,.35);
}
.btn-primary:hover { background: var(--green-h); box-shadow: 0 8px 24px rgba(30,107,87,.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-h); background: rgba(255,255,255,.04); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
}
.hero .wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.hero-content {
  flex: 1;
  max-width: 640px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.07;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 em { font-style: italic; font-family: 'Playfair Display', serif; color: var(--accent); }
.hero-sub {
  font-size: clamp(15px, 2.5vw, 17px);
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 28px;
  line-height: 1.65;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.trust-row span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
}

/* Hero-Bild */
.hero-img {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-img-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow), 0 0 60px rgba(78,205,164,.05);
}
.hero-img-box img { width: 100%; max-width: 280px; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.hero-badge strong { color: var(--text); }
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }

/* Hero 2-spaltig ab 860px */
@media (min-width: 860px) {
  .hero .wrap {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .hero-img { max-width: 380px; }
}

/* ============================================================
   ANGEBOT – TILES
   ============================================================ */
.angebot {
  padding: 0 0 72px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.angebot h2,
.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.15;
}

/* Tiles: 1 Spalte mobil → 2 ab 560px → 4 ab 1000px */
.tiles {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px)  { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
}
.tile-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tile-icon svg { width: 22px; height: 22px; fill: var(--accent); }
.tile h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.tile p  { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1; }

/* Aktive Kachel */
.tile-active {
  text-decoration: none;
  color: inherit;
  border-color: rgba(78,205,164,.28);
  background: linear-gradient(135deg, rgba(30,107,87,.16), var(--surface));
}
.tile-active::after {
  content: '★ Verfügbar';
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tile-active:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.tile-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

/* Bald-Kachel */
.tile-soon {
  opacity: .58;
  cursor: default;
  pointer-events: none;
}
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 6px;
  padding: 4px 10px;
}
.soon-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
/* 1 Spalte mobil → 2 ab 720px */
.faq-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
}
@media (min-width: 720px) { .faq-grid { grid-template-columns: repeat(2, 1fr); } }

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color .18s;
  /* Touch-Ziel groß genug */
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .22s;
  line-height: 1;
}
.faq-item[open] summary { color: var(--accent); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 20px 16px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}
.faq-cta { text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080D12;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding: 48px 0 32px;
}
@media (min-width: 600px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}
.footer-col p,
.footer-col a,
.footer-col span {
  font-size: 14px;
  color: rgba(238,244,251,.55);
  line-height: 1.75;
  display: block;
}
.footer-col a:hover { color: var(--text); }
.footer-col strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color .18s, background .18s, color .18s, transform .18s;
}
.socials a:hover {
  border-color: var(--border-h);
  background: rgba(78,205,164,.08);
  color: var(--accent);
  transform: translateY(-2px);
}
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: rgba(238,244,251,.38);
}
.footer-bottom a { color: rgba(238,244,251,.38); }
.footer-bottom a:hover { color: var(--muted); }

/* ============================================================
   SUBPAGE – Breadcrumb / Page-Hero
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 20px 0 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb svg { width: 12px; height: 12px; fill: var(--muted); }

.page-hero {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.page-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  margin-top: 8px;
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 16px;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.65;
}

/* ============================================================
   ÜBER MICH – About Grid
   ============================================================ */
.about-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  padding-bottom: 60px;
}
@media (min-width: 760px) {
  .about-grid { grid-template-columns: 280px 1fr; align-items: start; }
}
.photo-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 24px;
  text-align: center;
}
@media (min-width: 760px) {
  .photo-placeholder { position: sticky; top: calc(var(--nav-h) + 20px); }
}
.photo-placeholder h3 { font-size: 15px; margin-bottom: 8px; }
.photo-placeholder code {
  font-size: 12px;
  color: var(--accent);
  background: rgba(78,205,164,.1);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin: 8px 0;
}
.about-stack { display: flex; flex-direction: column; gap: 16px; }
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
}
.about-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 12px;
}
.about-card p, .about-card li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.about-card p + p { margin-top: 10px; }
.about-card ul { display: flex; flex-direction: column; gap: 6px; padding-left: 2px; }
.about-card li::before { content: '✓ '; color: var(--accent); }

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.leistungen-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  padding-bottom: 60px;
}
@media (min-width: 560px) { .leistungen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .leistungen-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   UTILITIES
   ============================================================ */
.muted  { color: var(--muted); }
.center { text-align: center; }
.fade   { animation: fadeIn .4s ease-out both; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* Reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* iOS tap-highlight entfernen */
a, button { -webkit-tap-highlight-color: transparent; }

/* ============================================================
   TOOLTIP (Kontaktzeile)
   ============================================================ */
.info-wrap { position: relative; display: inline-flex; align-items: center; }
.tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s;
  z-index: 50;
}
.info-wrap:hover .tooltip { opacity: 1; }
