/* Anderson Digital CI - mrs-anderson.de */
@font-face {
  font-family: 'DM Serif Display';
  src: url('fonts/DMSerifDisplay-Regular.woff2') format('woff2'),
       url('fonts/DMSerifDisplay-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.woff2') format('woff2'),
       url('fonts/Inter-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Medium.woff2') format('woff2'),
       url('fonts/Inter-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-SemiBold.woff2') format('woff2'),
       url('fonts/Inter-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #1A3A4A;
  --gold: #E0A06A;
  --white: #FFFFFF;
  --light: #F5F5F5;
  --text: #1A3A4A;
  --text-muted: #5a7080;
  --border: rgba(26,58,74,0.12);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--text); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Layout */
.container { max-width: 900px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--primary); color: var(--white); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark p { color: var(--white); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
}
.nav__inner {
  max-width: 900px; margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav__logo img {
  height: 32px;
  width: auto;
  display: block;
}
.nav__links { display: flex; gap: 2rem; list-style: none; }
.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--gold); }

/* Hero */
.hero {
  background: var(--primary);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.hero__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero p { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 560px; }

/* Gold divider */
.divider {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 2rem 0;
}

/* Service cards */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 20px rgba(26,58,74,0.08); }
.service-card__num {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* CTA Button */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
}
.btn--primary:hover { background: #0f2633; color: var(--white); }
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: #cc8c50; color: var(--white); }
.btn--outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn--outline:hover { background: var(--primary); color: var(--white); }

/* About portrait */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.about-portrait {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--light);
  border: 1px solid var(--border);
}

/* Contact */
.contact-block {
  background: var(--light);
  border-radius: 10px;
  padding: 2.5rem;
  border-left: 3px solid var(--gold);
}
.contact-block a { font-weight: 600; font-size: 1.05rem; }

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.65);
  padding: 2.5rem 0;
  font-size: 0.85rem;
}
.footer__inner {
  max-width: 900px; margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer a { color: rgba(255,255,255,0.65); }
.footer a:hover { color: var(--gold); }
.footer__links { display: flex; gap: 1.5rem; }

/* Cookie Banner */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--primary);
  color: rgba(255,255,255,0.88);
  padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
#cookie-banner p { color: rgba(255,255,255,0.88); font-size: 0.88rem; margin: 0; }
#cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }
#cookie-accept {
  background: var(--gold); color: var(--white);
  border: none; border-radius: 6px;
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
#cookie-accept:hover { background: #cc8c50; }
#cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
#cookie-decline:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }

/* Legal pages */
.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 1.3rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal-content p, .legal-content li { font-size: 0.95rem; color: #3a5060; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.4rem; }

/* Responsive */
@media (max-width: 640px) {
  .nav__links { gap: 1.2rem; }
  .nav__links a { font-size: 0.82rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 5rem 0 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
