/* ===== QM-Beratung Aydin – Stylesheet =====
   Aufbau angelehnt an QMSafety, Farbwelt aus dem AYDIN-Logo:
   tiefes Navy, mittleres Blau, Hellblau – ohne Orange. */

/* Lokale Schrift (DSGVO-konform, kein Google-Request). Inter Variable Font. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter.woff2") format("woff2");
}

:root {
  --navy: #103D6E;           /* AYDIN-Navy (Schrift im Logo) */
  --navy-deep: #0B2E54;      /* dunklere Variante (Hero/Footer) */
  --accent: #1B6FB3;         /* mittleres Blau (Buttons, Links) */
  --accent-dark: #14568C;
  --accent-bright: #3E9BD4;  /* Hellblau (Akzente, Marker) */
  --accent-soft: #9FCBEC;    /* Hellblau auf dunklem Grund */
  --ink: #1b2433;
  --muted: #5f6878;
  --line: #e3eaf1;
  --bg: #ffffff;
  --bg-alt: #f3f7fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 61, 110, 0.08);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

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

h1, h2, h3 { color: var(--navy); line-height: 1.2; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: .5rem; }
h3 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
  font-weight: 700; color: var(--accent); margin-bottom: .6rem;
}
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; }
.center.lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(27,111,179,.35); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ===== Hinweis: Seite im Aufbau ===== */
.construction-bar {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: .7rem 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-bottom: 3px solid #f3b13b;
}
.construction-bar strong { color: #ffd27a; font-weight: 800; }

/* Auffälliger Banner im Hero */
.construction-note {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(243,177,59,.16); border: 1px solid rgba(243,177,59,.55);
  color: #ffe1a6; font-weight: 600; font-size: .9rem;
  padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.construction-note .dot { width: .6rem; height: .6rem; border-radius: 50%; background: #f3b13b; box-shadow: 0 0 0 4px rgba(243,177,59,.25); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .15rem; font-weight: 800; font-size: 1.3rem; color: var(--navy); flex: none; }
.logo:hover { text-decoration: none; }
.logo img { height: 44px; width: auto; display: block; }
.logo-text { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); font-weight: 500; }
.nav a:hover { color: var(--accent-dark); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: .55rem 1.1rem;
  border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -10%; top: -30%;
  width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(62,155,212,.20), transparent);
  pointer-events: none;
}
.hero-inner { max-width: 880px; position: relative; }
.hero .eyebrow { color: var(--accent-soft); }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.2rem; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 700px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-badges li {
  font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.28); padding: .3rem .8rem; border-radius: 999px;
}

/* ===== Sections ===== */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section .eyebrow.center, .section h2.center { display: block; }
.section h2.center { margin-bottom: .4rem; }

/* ===== Grids ===== */
.grid { display: grid; gap: 1.4rem; margin-top: 2.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .2s ease;
  border-top: 3px solid var(--accent-bright);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,61,110,.14); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .97rem; }

.value h3 { margin-bottom: .35rem; position: relative; padding-left: 1.4rem; }
.value h3::before {
  content: ""; position: absolute; left: 0; top: .45rem;
  width: .7rem; height: .7rem; border-radius: 3px; background: var(--accent-bright);
}
.value p { color: var(--muted); }

/* ===== Über mich ===== */
.about-block {
  max-width: 760px; margin: 2.5rem auto 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.5rem; box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}
.about-block p { color: var(--ink); font-size: 1.05rem; margin-bottom: 1.1rem; }
.about-block strong { color: var(--navy); }
.credentials { list-style: none; margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: grid; gap: .85rem; }
.credentials li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 500; }
.credentials li::before {
  content: ""; position: absolute; left: 0; top: .15rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 80% no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 80% no-repeat;
}

/* ===== Prozess ===== */
.steps { list-style: none; max-width: 760px; margin: 2.5rem auto 0; display: grid; gap: 1.1rem; }
.steps li { display: flex; gap: 1.2rem; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); }
.step-num {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--navy)); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.steps h3 { margin-bottom: .2rem; }
.steps p { color: var(--muted); }

/* ===== Kontakt ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; margin-top: 2.5rem; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1rem; }
.contact-info strong { color: var(--navy); }
.response-note { color: var(--accent-dark); font-weight: 600; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fbfcfe;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27,111,179,.15); }
.field textarea { resize: vertical; }
.field.checkbox { display: flex; gap: .6rem; align-items: flex-start; }
.field.checkbox input { width: auto; margin-top: .3rem; }
.field.checkbox label { font-weight: 400; font-size: .88rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; }
.logo-footer { color: #fff; font-weight: 800; font-size: 1.3rem; }
.logo-footer .logo-text { color: var(--accent-bright); }
.footer-tag { font-size: .95rem; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: rgba(255,255,255,.85); }
.copyright { font-size: .85rem; color: rgba(255,255,255,.55); }

/* ===== Rechtsseiten (Impressum/Datenschutz/AGB) ===== */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink); margin-bottom: .8rem; }
.legal ul { padding-left: 1.3rem; }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; }
.mark { background: #FFF6D6; border-bottom: 1px dashed #D8B400; padding: 0 3px; border-radius: 3px; color: #6B5200; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; top: 72px; right: 0; left: 0;
    background: #fff; flex-direction: column; gap: 0; align-items: stretch;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 460px; }
  .nav a { padding: 1rem 1.5rem; border-top: 1px solid var(--line); }
  .nav-cta { margin: 1rem 1.5rem; text-align: center; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
