/* Schriften lokal eingebunden (keine Verbindung zu Google beim Seitenaufruf) */
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/outfit-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/outfit-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/outfit-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/outfit-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/outfit-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/outfit-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --white: #ffffff;
  --off: #f7f7f4;
  --ink: #111110;
  --mid: #6b6b67;
  --line: #e4e4df;
  --blue: #1b3a5b;        /* Navy – Text, Buttons */
  --blue-deep: #10283f;
  --brand: #2f6f9a;       /* Logo-Blau */
  --brand-light: #a9bacc; /* Logo-Hellblau */
  --blue-light: #eaf0f6;
  --gold: #c9a265;        /* Logo-Sand, leicht abgedunkelt für Kontrast */
  --sand: #d7ad70;
  --site-max: 1500px;
  --site-pad: clamp(1.5rem, 4vw, 3rem);
  --gutter: max(var(--site-pad), calc((100% - var(--site-max)) / 2 + var(--site-pad)));
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  z-index: 200;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--blue); color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; z-index: 90;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s, transform .4s, background .3s;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--gold); }

/* ─── BRAND MARK (drei Quadrate) ─── */
.mark { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  height: 96px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s, height .3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.06); height: 76px; }

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 54px; width: auto; display: block; transition: height .3s, opacity .2s; }
nav.scrolled .logo img { height: 44px; }
.logo:hover img { opacity: .85; }

nav ul { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
nav ul a {
  font-size: .78rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; position: relative; transition: color .2s;
}
nav ul a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--brand); transition: width .3s ease;
}
nav ul a:not(.nav-cta):hover::after { width: 100%; }
nav ul a:hover { color: var(--ink); }
.nav-cta {
  font-weight: 500 !important; color: var(--white) !important;
  background: var(--blue); padding: .55rem 1.4rem; letter-spacing: .08em !important;
  transition: background .3s, transform .2s !important;
}
.nav-cta:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* ─── HAMBURGER / MOBILE MENU ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; z-index: 110; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
  z-index: 105; flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  position: absolute; top: 1.2rem; right: 1.5rem; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 112;
  transition: border-color .3s, background .3s;
}
.mobile-menu-close:hover { border-color: var(--brand); background: var(--blue-light); }
.mobile-menu-close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 400;
  color: var(--ink); text-decoration: none; position: relative; transition: color .2s;
}
.mobile-menu a::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 0; height: 1.5px; background: var(--gold); transition: width .3s; }
.mobile-menu a:hover::after { width: 60%; }
.mobile-menu a:hover { color: var(--brand); }

/* ─── MOBILE STICKY FOOTER ─── */
.mobile-sticky-footer {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  padding: .6rem 0; padding-bottom: calc(.6rem + env(safe-area-inset-bottom, 0px));
}
.mobile-sticky-footer-inner { display: flex; align-items: center; justify-content: space-around; max-width: 400px; margin: 0 auto; }
.mobile-sticky-footer a { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none; color: var(--blue); padding: .4rem .8rem; transition: color .2s, transform .2s; }
.mobile-sticky-footer a:hover, .mobile-sticky-footer a:active { color: var(--gold); transform: translateY(-2px); }
.mobile-sticky-footer a svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.mobile-sticky-footer a span { font-size: .62rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* ─── HERO ─── */
header {
  padding: 150px var(--gutter) 90px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6vw; align-items: center;
  min-height: 92vh;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
header::before {
  content: ''; position: absolute; top: -20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(47,111,154,.07) 0%, transparent 70%);
  pointer-events: none; animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-30px); } }

.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 2.2rem;
  opacity: 0; animation: up .8s .1s ease both;
}
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -.01em;
  margin-bottom: 1.8rem;
  opacity: 0; animation: up .9s .25s ease both;
}
h1 strong {
  font-weight: 600; font-style: italic;
  background: linear-gradient(135deg, var(--ink) 30%, var(--brand));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.05rem; line-height: 1.85; color: var(--mid); font-weight: 300;
  max-width: 460px; margin-bottom: 2.8rem;
  opacity: 0; animation: up .9s .4s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid var(--line); position: relative;
  opacity: 0; animation: up .9s .55s ease both;
}
.hero-actions::before { content: ''; position: absolute; top: -1px; left: 0; width: 3rem; height: 1px; background: var(--gold); }

.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; font-family: 'Outfit', sans-serif;
  transition: background .25s, border-color .25s, color .25s, transform .2s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--blue); color: var(--white); border: 1px solid var(--blue); font-weight: 500; }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(27,58,91,.25); }
.btn-primary::after { content: '↗'; font-size: .9rem; transition: transform .3s; }
.btn-primary:hover::after { transform: translate(3px,-3px); }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent); transition: left .5s; }
.btn-primary:hover::before { left: 100%; }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); font-weight: 400; }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.06); }

/* Hero-Foto */
.hero-photo {
  position: relative; z-index: 1;
  margin: 0 1.25rem 1.25rem 0;
  opacity: 0; animation: fadeIn 1.1s .5s ease both;
}
.hero-photo::before {
  content: ''; position: absolute;
  top: 1.25rem; left: 1.25rem; right: -1.25rem; bottom: -1.25rem;
  border: 1px solid var(--gold); pointer-events: none;
}
.hero-photo-frame { position: relative; overflow: hidden; background: var(--off); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; object-position: center 30%; transition: transform 1.2s ease; }
.hero-photo:hover img { transform: scale(1.02); }
.hero-photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.6rem 1.2rem;
  background: linear-gradient(to top, rgba(16,40,63,.82), transparent);
  color: var(--white); display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
}
.hero-photo-caption strong { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; display: block; }
.hero-photo-caption span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.hero-badge {
  position: absolute; z-index: 2; left: -1.25rem; top: 2rem;
  background: var(--blue); color: var(--white);
  padding: 1rem 1.2rem; text-align: center; box-shadow: 0 10px 30px rgba(16,40,63,.25);
}
.hero-badge em { display: block; font-family: 'Cormorant Garamond', serif; font-style: normal; font-size: 2.1rem; font-weight: 300; line-height: 1; }
.hero-badge small { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; margin-top: .4rem; }

/* ─── SECTION HELPERS ─── */
.section { padding: 7.5rem var(--gutter); }
.section-inner { max-width: var(--site-max); margin: 0 auto; }
.section-header { margin-bottom: 4rem; }
.tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .9rem;
}
.tag::before { content: ''; display: block; width: 24px; height: 1px; background: linear-gradient(90deg, var(--brand), var(--gold)); }
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  font-weight: 300; line-height: 1.1; letter-spacing: -.01em; color: var(--ink);
}
h2 strong { font-weight: 600; font-style: italic; }
.lead { font-size: 1rem; line-height: 1.85; color: var(--mid); font-weight: 300; max-width: 560px; margin-top: 1.2rem; }
.lead + .lead { margin-top: .8rem; }

/* ─── INTRO (Steuerberatung / Steueroptimierung / Steuerkompetenz) ─── */
#intro { padding-top: 6rem; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.service {
  padding: 3rem 2.8rem; border-right: 1px solid var(--line);
  position: relative; overflow: hidden; background: var(--white);
  transition: background .3s, transform .3s, box-shadow .3s;
}
.service:last-child { border-right: none; }
.service::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--gold)); transition: width .4s ease; }
.service:hover::before { width: 100%; }
.service:hover { background: var(--off); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.05); }
.service-num { font-family: 'Cormorant Garamond', serif; font-size: .9rem; color: var(--brand); font-style: italic; margin-bottom: 1.5rem; display: block; transition: color .3s; }
.service:hover .service-num { color: var(--gold); }
.service h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; margin-bottom: .8rem; line-height: 1.25; }
.service p { font-size: .9rem; line-height: 1.75; color: var(--mid); font-weight: 300; }

/* ─── ÜBER UNS (dunkle Bühne) ─── */
#kanzlei {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  position: relative; overflow: hidden; color: var(--white);
}
#kanzlei::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(215,173,112,.1) 0%, transparent 70%); pointer-events: none; }
#kanzlei .tag { color: rgba(255,255,255,.55); }
#kanzlei .tag::before { background: linear-gradient(90deg, rgba(255,255,255,.35), var(--gold)); }
#kanzlei h2 { color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6vw; align-items: center; position: relative; }
.about-text p { font-size: 1.05rem; line-height: 1.9; color: rgba(255,255,255,.78); font-weight: 300; margin-top: 1.4rem; max-width: 600px; }
.about-text p strong { color: var(--white); font-weight: 400; }
.cta-card {
  border: 1px solid rgba(255,255,255,.15); padding: 2.6rem 2.4rem;
  background: rgba(255,255,255,.04); position: relative; transition: background .3s, border-color .3s;
}
.cta-card:hover { background: rgba(255,255,255,.07); border-color: rgba(215,173,112,.5); }
.cta-card .mark { position: absolute; top: 1.4rem; right: 1.4rem; width: 22px; height: 22px; opacity: .9; }
.cta-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; margin-bottom: 1rem; }
.cta-card p { font-size: .92rem; line-height: 1.75; color: rgba(255,255,255,.7); font-weight: 300; margin-bottom: 1.6rem; }
.cta-phone {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: var(--white); text-decoration: none; margin-bottom: 1.6rem; letter-spacing: .01em; transition: color .2s;
}
.cta-phone:hover { color: var(--sand); }
.cta-card .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.35); }
.cta-card .btn-secondary:hover { border-color: var(--sand); color: var(--sand); box-shadow: none; }

/* ─── DIENSTLEISTUNGEN ─── */
#dienstleistungen { background: var(--off); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1.35fr; gap: 6vw; align-items: start; }
.split-head { position: sticky; top: 120px; }
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem;
  padding: 2.4rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left .3s;
}
.row:hover { padding-left: .6rem; }
.row-num { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--brand-light); line-height: 1; transition: color .3s; }
.row:hover .row-num { color: var(--gold); }
.row h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; margin-bottom: .7rem; line-height: 1.2; }
.row p { font-size: .95rem; line-height: 1.8; color: var(--mid); font-weight: 300; max-width: 620px; }

/* ─── TÄTIGKEITSFELDER ─── */
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.field-card {
  border: 1px solid var(--line); padding: 2.6rem 2.4rem; background: var(--white);
  position: relative; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.field-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.06); border-color: var(--brand-light); }
.field-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.field-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 600; line-height: 1.2; }
.field-card-head .sq { width: 14px; height: 14px; flex-shrink: 0; }
.field-card:nth-child(1) .sq { background: var(--brand); }
.field-card:nth-child(2) .sq { background: var(--brand-light); }
.field-card:nth-child(3) .sq { background: var(--sand); }
.field-card ul { list-style: none; }
.field-card li {
  display: flex; align-items: baseline; gap: .9rem;
  font-size: .95rem; line-height: 1.6; color: var(--ink); font-weight: 300;
  padding: .55rem 0; border-bottom: 1px dashed var(--line);
}
.field-card li:last-child { border-bottom: none; }
.field-card li::before { content: ''; width: 7px; height: 7px; background: var(--brand); flex-shrink: 0; transform: translateY(-2px); }
.field-card:nth-child(2) li::before { background: var(--brand-light); }
.field-card:nth-child(3) li::before { background: var(--sand); }
.fields-note { margin-top: 2.5rem; font-size: .9rem; color: var(--mid); font-weight: 300; }
.fields-note a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--gold); transition: color .2s; }
.fields-note a:hover { color: var(--brand); }

/* ─── GESCHÄFTSLEITUNG ─── */
#geschaeftsleitung { background: var(--off); border-top: 1px solid var(--line); }
.team-head { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: end; margin-bottom: 4rem; }
.team-head .lead { margin-top: 0; }
.team-welcome { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-style: italic; font-weight: 400; color: var(--blue); margin-top: 1.2rem; }
.subtag { font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mid); margin-bottom: 1.6rem; }

.persons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.person { background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.15fr; transition: box-shadow .4s, transform .3s; }
.person:hover { box-shadow: 0 20px 50px rgba(0,0,0,.07); transform: translateY(-3px); }
.person-photo { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--off); }
.person-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.person-photo .color { opacity: 0; transition: opacity .7s ease; }
.person:hover .person-photo .color { opacity: 1; }
.person-body { padding: 2.4rem 2.2rem; display: flex; flex-direction: column; justify-content: center; position: relative; }
.person-body::before { content: ''; position: absolute; top: 2.4rem; left: 0; width: 3px; height: 2.4rem; background: var(--gold); }
.person-role { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }
.person-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; line-height: 1.15; margin-bottom: 1rem; }
.person-body p { font-size: .92rem; line-height: 1.8; color: var(--mid); font-weight: 300; }

.team-box {
  margin-top: 1.5rem; background: var(--white); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; padding: 3rem; align-items: center; position: relative;
}
.team-box .mark { position: absolute; top: 1.5rem; right: 1.5rem; width: 26px; height: 26px; }
.team-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; margin-bottom: 1rem; }
.team-box p { font-size: .95rem; line-height: 1.85; color: var(--mid); font-weight: 300; }
.team-box p + p { margin-top: 1rem; }
.team-fact { border-left: 1px solid var(--line); padding-left: 2.5rem; }
.team-fact em { display: block; font-family: 'Cormorant Garamond', serif; font-style: normal; font-size: 3.4rem; font-weight: 300; color: var(--brand); line-height: 1; margin-bottom: .6rem; }
.team-fact span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mid); display: block; margin-bottom: 1rem; }

/* ─── KONTAKT ─── */
#kontakt { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6vw; align-items: start; }
.contact-details { margin-top: 2.5rem; }
.contact-item { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); transition: padding-left .3s; }
.contact-item:hover { padding-left: .5rem; }
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mid); min-width: 110px; padding-top: 3px; }
.contact-item-val { font-size: .95rem; color: var(--ink); font-weight: 300; line-height: 1.7; }
.contact-item-val strong { font-weight: 500; }
.contact-item-val a { color: var(--ink); text-decoration: none; transition: color .2s; }
.contact-item-val a:hover { color: var(--brand); }

.form { border: 1px solid var(--line); padding: 3rem; background: var(--white); transition: box-shadow .4s; }
.form:hover { box-shadow: 0 16px 50px rgba(0,0,0,.06); }
.form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.field { margin-bottom: 1.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label { display: block; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--mid); margin-bottom: .5rem; }
label .req { color: var(--gold); }
input, textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); background: var(--white);
  font-family: 'Outfit', sans-serif; font-size: .95rem; font-weight: 300; color: var(--ink);
  outline: none; appearance: none; resize: vertical; transition: border-color .2s, box-shadow .3s;
}
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,111,154,.1); }
textarea { min-height: 140px; }
::placeholder { color: #b0b0aa; }
.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .8rem; color: var(--mid); font-weight: 300; line-height: 1.6; margin: .4rem 0 1.4rem; text-transform: none; letter-spacing: 0; }
.consent input { width: 16px; height: 16px; margin-top: 3px; appearance: auto; accent-color: var(--blue); flex-shrink: 0; }
.consent a { color: var(--blue); border-bottom: 1px solid var(--gold); text-decoration: none; }
.form-submit {
  width: 100%; padding: 1rem; background: var(--blue); color: var(--white); border: none;
  font-family: 'Outfit', sans-serif; font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; position: relative; overflow: hidden; transition: background .25s, transform .2s, box-shadow .3s;
}
.form-submit:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(27,58,91,.25); }
.form-submit::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); transition: left .5s; }
.form-submit:hover::before { left: 100%; }
.form-hint { font-size: .75rem; color: var(--mid); font-weight: 300; margin-top: 1rem; text-align: center; }
.botcheck { display: none !important; }
.h-captcha { margin: 0 0 1.4rem; min-height: 78px; }
.h-captcha iframe { display: block; }

/* ─── ANFAHRT ─── */
.map-section { border-top: 1px solid var(--line); padding-top: 5rem; margin-top: 5rem; }
.map-container { border: 1px solid var(--line); overflow: hidden; position: relative; background: var(--off); min-height: 420px; }
.map-container iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; text-align: center; padding: 2rem;
  background: repeating-linear-gradient(45deg, var(--off) 0 12px, #f1f1ed 12px 24px);
}
.map-placeholder p { font-size: .85rem; color: var(--mid); font-weight: 300; max-width: 420px; line-height: 1.6; }
.map-placeholder .map-addr { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--ink); font-weight: 600; }

/* ─── FOOTER ─── */
footer {
  padding: 2.5rem var(--gutter); border-top: 1px solid var(--line); background: var(--off);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-left { display: flex; align-items: center; gap: 3rem; }
.footer-logo { display: flex; align-items: center; gap: .7rem; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.footer-logo .mark { width: 14px; height: 14px; }
.footer-links { list-style: none; display: flex; gap: 2rem; }
.footer-links a { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: .72rem; color: var(--mid); }

/* ─── ANIMATIONS ─── */
@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .persons { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr 1.4fr; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field-card:nth-child(3) { grid-column: span 2; }
}

@media (max-width: 960px) {
  header { grid-template-columns: 1fr; min-height: auto; padding: 130px var(--site-pad) 60px; }
  .hero-photo { margin-top: 3rem; margin-left: 1.25rem; }
  .about-grid, .split, .contact-grid, .team-head, .team-box { grid-template-columns: 1fr; gap: 3rem; }
  .split-head { position: static; }
  .team-fact { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 2rem; }
  .services { grid-template-columns: 1fr; }
  .service { border-right: none; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: none; }
  .hamburger { display: flex; }
  nav ul { display: none; }
  .mobile-sticky-footer { display: block; }
  footer { padding-bottom: 5rem; }
  .form { padding: 2rem; }
}

@media (max-width: 600px) {
  html { font-size: 15px; }
  nav { padding: 0 5vw; height: 66px; }
  .logo img, nav.scrolled .logo img { height: 38px; }
  nav.scrolled { height: 60px; }
  header { padding: 100px 5vw 50px; }
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); margin-bottom: 1.4rem; }
  .hero-tag { margin-bottom: 1.6rem; }
  .hero-desc { font-size: .95rem; margin-bottom: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-photo { margin: 2.5rem .9rem .9rem .9rem; }
  .hero-badge { left: -.9rem; top: 1rem; padding: .7rem .9rem; }
  .hero-badge em { font-size: 1.6rem; }
  .hero-photo-caption { flex-direction: column; align-items: flex-start; gap: .2rem; padding: 2rem 1.2rem 1rem; }
  .section { padding: 5rem 5vw; }
  #intro { padding-top: 4rem; }
  .section-header { margin-bottom: 3rem; }
  .fields { grid-template-columns: 1fr; }
  .field-card:nth-child(3) { grid-column: auto; }
  .person { grid-template-columns: 1fr; }
  .person-photo { aspect-ratio: 4/4.4; }
  .row { grid-template-columns: 1fr; gap: .6rem; }
  .field-row { grid-template-columns: 1fr; }
  .team-box { padding: 2rem; }
  .map-container, .map-container iframe { min-height: 300px; height: 300px; }
  .map-section { margin-top: 3rem; padding-top: 3rem; }
  footer { flex-direction: column; text-align: center; gap: 1.5rem; padding: 2rem 5vw; }
  .footer-left { flex-direction: column; gap: 1rem; }
  .footer-links { gap: 1.2rem; }
  .back-to-top { bottom: 5rem; right: 1.2rem; width: 40px; height: 40px; }
  h2 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
}

@media (max-width: 380px) {
  html { font-size: 14px; }
  .section { padding: 4rem 4vw; }
  .service, .field-card { padding: 2rem 1.6rem; }
  .form { padding: 1.5rem; }
}

/* ─── DANKE-SEITE ─── */
.thanks {
  min-height: 100vh;
  padding: 150px var(--gutter) 90px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 6vw; align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.thanks::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(47,111,154,.07) 0%, transparent 70%);
  pointer-events: none;
}
.thanks-content { position: relative; z-index: 1; }
.thanks-check {
  width: 84px; height: 84px; margin-bottom: 2.2rem;
  border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center;
  opacity: 0; animation: up .8s .1s ease both;
}
.thanks-check svg { width: 40px; height: 40px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.thanks-check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1s .7s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks-content h1 { animation-delay: .25s; }
.thanks-content .hero-desc { animation-delay: .4s; }
.thanks-content .hero-actions { animation-delay: .55s; }
.thanks-aside {
  border: 1px solid var(--line); background: var(--off); padding: 2.8rem 2.6rem;
  position: relative; opacity: 0; animation: fadeIn 1s .6s ease both;
}
.thanks-aside .mark { position: absolute; top: 1.5rem; right: 1.5rem; width: 22px; height: 22px; }
.thanks-aside h2 { font-size: 1.7rem; margin-bottom: 1.4rem; }
.thanks-aside .contact-item:first-child { border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .thanks { grid-template-columns: 1fr; min-height: auto; padding: 130px var(--site-pad) 60px; }
}
@media (max-width: 600px) {
  .thanks { padding: 100px 5vw 50px; }
  .thanks-aside { padding: 2rem 1.6rem; }
}

/* ─── RECHTSTEXTE (Impressum, Datenschutz) ─── */
.legal {
  padding: 150px var(--gutter) 6rem;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.legal::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(47,111,154,.07) 0%, transparent 70%);
  pointer-events: none;
}
.legal-inner { max-width: 820px; position: relative; z-index: 1; }
.legal-intro { font-size: 1.05rem; line-height: 1.85; color: var(--mid); font-weight: 300; margin-bottom: 1rem; }
.legal h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 3.2rem 0 1.1rem; padding-top: 2.4rem; border-top: 1px solid var(--line); position: relative; }
.legal h2::before { content: ''; position: absolute; top: -1px; left: 0; width: 3rem; height: 1px; background: var(--gold); }
.legal h3 { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin: 2rem 0 .6rem; }
.legal p, .legal li { font-size: .98rem; line-height: 1.8; color: #3d3d3a; font-weight: 300; }
.legal p + p { margin-top: .9rem; }
.legal ul { margin: .7rem 0 .9rem 1.2rem; }
.legal li + li { margin-top: .3rem; }
.legal a { color: var(--brand); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal strong { font-weight: 500; color: var(--ink); }
.todo { background: #fff3cd; outline: 1px dashed var(--gold); padding: 0 .3em; color: #6b4e00; font-weight: 400; }
.legal-date { margin-top: 3.5rem; font-size: .8rem !important; color: var(--mid) !important; }
@media (max-width: 960px) { .legal { padding: 130px var(--site-pad) 4rem; } }
@media (max-width: 600px) { .legal { padding: 100px 5vw 3rem; } }

/* ─── EINZELPERSON (Kocher-STB) ─── */
.persons-single { grid-template-columns: minmax(0, 820px); }
.hero-photo img { aspect-ratio: 1 / 1; object-position: center 20%; }

/* ─── FEHLERSEITE (Formular nicht gesendet) ─── */
.thanks-check-fehler { border-color: var(--sand); }
.thanks-check-fehler svg { stroke: var(--gold); }

/* ─── „ICH BIN KEIN ROBOTER“ (ALTCHA) ─── */
.roboter {
  display: block; margin: 0 0 1.4rem;
  --altcha-max-width: 100%;
  --altcha-border-radius: 0;
  --altcha-color-border: var(--line);
  --altcha-color-border-focus: var(--brand);
  --altcha-color-base: var(--white);
  --altcha-color-text: var(--ink);
  font-family: 'Outfit', sans-serif; font-size: .9rem;
}
/* Allgemeine Formularstile (label, input) nicht auf das Roboter-Kästchen anwenden */
.roboter label { display: inline; font-size: .9rem; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0; }
.roboter input[type="checkbox"] { width: 18px; height: 18px; padding: 0; margin: 0; border: 0; box-shadow: none; appearance: auto; accent-color: var(--blue); }
