/* =============================================
   MINA AVERBACH – style.css
   Design übernommen von MAV Consulting/index.html
   ============================================= */

/* ── Custom Properties ── */
:root {
  --navy:        #0e1f3d;
  --navy-mid:    #162a52;
  --navy-light:  #1e3a6e;
  --gold:        #b8973a;
  --gold-light:  #d4af6a;
  --cream:       #f8f5ef;
  --warm-white:  #fdfbf7;
  --text:        #1a1a2e;
  --text-muted:  #5a6070;
  --border:      #ddd8ce;

  --max-width: 1180px;
  --radius-sm: 0px;
  --radius-md: 0px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utility ── */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 2rem;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(184,151,58,0.5);
  color: var(--gold-light);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s;
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--cream); }

/* ──────────────────────────────────────────────
   HEADER / NAV
────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 31, 61, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 151, 58, 0.25);
}
.nav-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.nav-logo span { color: var(--gold-light); }

.nav-links {
  display: none;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 245, 239, 0.75);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(184,151,58,0.15);
  padding: 12px 2rem 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(248,245,239,.8);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-mobile a:last-child { border: none; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ──────────────────────────────────────────────
   HERO
────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(184,151,58,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 20%, rgba(30,58,110,0.8) 0%, transparent 60%);
}
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.hero-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-inner { max-width: 600px; }
#hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1.15;
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
  letter-spacing: 0.01em;
}
.hero-sub {
  font-size: 0.97rem;
  color: rgba(248,245,239,0.7);
  max-width: 520px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero image */
.hero-image-wrap {
  position: relative;
  flex-shrink: 0;
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  top: -12px; right: -12px;
  width: 100%; height: 100%;
  border: 1px solid rgba(184,151,58,0.3);
  pointer-events: none;
}
.hero-img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  filter: grayscale(15%) contrast(1.05);
}

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero-image-wrap { order: -1; }
  .hero-img { max-width: 280px; }
}

/* ──────────────────────────────────────────────
   SECTION DEFAULTS
────────────────────────────────────────────── */
section { padding: 6rem 2rem; }
.section-inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 2rem;
}
.section-divider {
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 1.5rem 0 2.5rem;
}

/* ──────────────────────────────────────────────
   ÜBER MICH
────────────────────────────────────────────── */
#ueber-mich { background: var(--warm-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  font-size: 0.97rem;
}
.icon-list { list-style: none; margin-top: 2rem; }
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0;
  font-size: 0.93rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.icon-list li:last-child { border-bottom: none; }
.icon-list .ic {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  color: var(--gold);
}
.stats-col { display: flex; flex-direction: column; gap: 1.5rem; }
.stat-box {
  border: 1px solid var(--border);
  padding: 1.8rem 2rem;
  background: var(--cream);
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-number span { font-size: 1.8rem; color: var(--gold); }
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ──────────────────────────────────────────────
   LEISTUNGEN
────────────────────────────────────────────── */
#leistungen { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}
.service-card {
  background: var(--warm-white);
  padding: 2.2rem;
  transition: background 0.2s;
}
.service-card:hover { background: var(--navy); }
.service-card:hover .service-title { color: var(--cream); }
.service-card:hover .service-text  { color: rgba(248,245,239,0.65); }
.service-card:hover .service-icon  { color: var(--gold); }
.service-icon {
  width: 22px; height: 22px;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.7rem;
  line-height: 1.3;
  transition: color 0.2s;
}
.service-text {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.75;
  transition: color 0.2s;
}
.hint-box {
  margin-top: 2rem;
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.8rem;
  background: rgba(184,151,58,0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────
   EXPERTISE & TOOLS
────────────────────────────────────────────── */
#expertise { background: var(--navy); }
#expertise .section-title { color: var(--cream); }
#expertise .section-divider { background: rgba(184,151,58,0.4); }

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.expertise-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(184,151,58,0.3);
}
.expertise-col + .expertise-col { margin-top: 2.5rem; }
.expertise-list { list-style: none; }
.expertise-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: rgba(248,245,239,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.expertise-list li:last-child { border-bottom: none; }
.expertise-list .ic {
  flex-shrink: 0;
  width: 15px; height: 15px;
  margin-top: 4px;
  color: var(--gold);
}
.tool-table { width: 100%; border-collapse: collapse; }
.tool-table th {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(184,151,58,0.3);
  text-align: left;
}
.tool-table td {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  color: rgba(248,245,239,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
}
.tool-table tr:last-child td { border-bottom: none; }
.tool-table td:first-child {
  color: rgba(248,245,239,0.5);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cert-list { list-style: none; margin-top: 1.5rem; }
.cert-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
  color: rgba(248,245,239,0.75);
}
.cert-list li:last-child { border-bottom: none; }
.cert-list strong { color: var(--cream); font-weight: 500; }
.cert-list .ic { flex-shrink: 0; width: 15px; height: 15px; margin-top: 4px; color: var(--gold); }

@media (max-width: 900px) {
  .expertise-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ──────────────────────────────────────────────
   BERUFLICHE STATIONEN
────────────────────────────────────────────── */
#stationen { background: var(--warm-white); }
.timeline { margin-top: 3rem; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline-item {
  padding: 0 0 3rem 2.5rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px; top: 6px;
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50%;
}
.timeline-period {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.timeline-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.timeline-company {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ──────────────────────────────────────────────
   KONTAKT
────────────────────────────────────────────── */
#kontakt { background: var(--cream); }

.contact-office-img {
  margin-bottom: 3rem;
  overflow: hidden;
  max-height: 300px;
}
.contact-office-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 0;
}
.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.contact-info > p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.contact-detail-list { list-style: none; }
.contact-detail-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
}
.contact-detail-list li:last-child { border-bottom: none; }
.contact-detail-list a { color: var(--navy); transition: color 0.2s; }
.contact-detail-list a:hover { color: var(--gold); }
.contact-detail-list .ic { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group label .required { color: var(--gold); margin-left: 2px; }
.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--warm-white);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input.error,
.form-group textarea.error { border-color: #c0392b; }
.form-group .field-error {
  font-size: 0.75rem;
  color: #c0392b;
  display: none;
}
.form-group .field-error.visible { display: block; }
.form-group textarea { min-height: 130px; }
.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.form-note a { color: var(--gold); text-decoration: underline; }
.form-success {
  display: none;
  padding: 1rem;
  background: rgba(184,151,58,0.08);
  border: 1px solid var(--gold);
  color: #7a6020;
  font-size: 0.9rem;
  text-align: center;
}
.form-success.visible { display: block; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(184,151,58,0.2);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8rem; color: rgba(248,245,239,0.4); }
.footer-links { display: flex; gap: 1.5rem; align-items: center; }
.footer-links a {
  font-size: 0.8rem;
  color: rgba(248,245,239,0.4);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: inherit;
  color: rgba(248,245,239,0.4);
  transition: color 0.2s;
}
.footer-cookie-btn:hover { color: var(--gold-light); }
.footer-location { font-size: 0.8rem; color: rgba(248,245,239,0.3); }

/* ──────────────────────────────────────────────
   COOKIE BANNER
────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--navy-mid);
  border-top: 1px solid rgba(184,151,58,0.25);
  color: rgba(248,245,239,0.8);
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1.5;
}
#cookie-banner p { flex: 1; min-width: 200px; max-width: 700px; }
#cookie-banner a { color: var(--gold-light); text-decoration: underline; }
#cookie-accept {
  padding: 0.6rem 1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s;
}
#cookie-accept:hover { background: var(--gold-light); }
#cookie-banner.hidden { display: none; }

/* ──────────────────────────────────────────────
   IMPRESSUM / DATENSCHUTZ PAGES
────────────────────────────────────────────── */
.sub-header {
  background: rgba(14, 31, 61, 0.97);
  border-bottom: 1px solid rgba(184,151,58,0.25);
}
.sub-header-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.sub-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.sub-logo span { color: var(--gold-light); }
.back-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,245,239,0.65);
  transition: color 0.2s;
}
.back-link:hover { color: var(--gold-light); }
.sub-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 5rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(184,151,58,0.2);
}
.sub-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
}
.prose-section {
  background: var(--warm-white);
  padding: 5rem 2rem;
}
.prose {
  max-width: 760px;
  margin-inline: auto;
}
.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin: 2.5rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.prose h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.prose h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}
.prose p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}
.prose a { color: var(--gold); text-decoration: underline; }
