:root{
  --bg:#EDF0F7;
  --surface:#FFFFFF;
  --surface-2:#F2F4FA;
  --ink:#141A2C;
  --ink-soft:#545C74;
  --hunter:#2A4E90;
  --hunter-dark:#101B3A;
  --rust:#574C93;
  --gold:#8B93C4;
  --gold-contrast:#B6BCE4;
  --line:#D8DEEC;
  --on-dark:#FFFFFF;
  --hunter-hover:#101B3A;
  --field-border:#7A839E;
  --header-h:129px;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0B0F1D;
    --surface:#131A2E;
    --surface-2:#1A2238;
    --ink:#E7EAF5;
    --ink-soft:#A9B0CE;
    --hunter:#7FA0E0;
    --hunter-dark:#1E2F5C;
    --rust:#A79BDB;
    --gold:#8B93C4;
    --gold-contrast:#C7CCEC;
    --line:#28304A;
    --on-dark:#E7EAF5;
    --hunter-hover:#A9C0EE;
    --field-border:#737CA0;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0B0F1D;
  --surface:#131A2E;
  --surface-2:#1A2238;
  --ink:#E7EAF5;
  --ink-soft:#A9B0CE;
  --hunter:#7FA0E0;
  --hunter-dark:#1E2F5C;
  --rust:#A79BDB;
  --gold:#8B93C4;
  --gold-contrast:#C7CCEC;
  --line:#28304A;
  --on-dark:#E7EAF5;
  --hunter-hover:#A9C0EE;
  --field-border:#737CA0;
  color-scheme:dark;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
[id]{scroll-margin-top:calc(var(--header-h) + 12px);}
@media (max-width:480px){ :root{--header-h:77px;} }
@media (max-width:360px){ :root{--header-h:69px;} }
picture{display:contents;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }
body{
  background:var(--bg);
  color:var(--ink);
  font-family:"Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height:1.6;
  overflow-wrap:break-word;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:"Fraunces", Georgia, serif;
  color:var(--ink);
  font-weight:600;
  line-height:1.12;
  text-wrap:balance;
  margin:0;
}
p{margin:0;}
a{color:inherit;}
.inline-link{color:var(--hunter); text-decoration:underline; font:inherit;}
button{font:inherit;}
img{max-width:100%; height:auto; display:block;}
:focus-visible{outline:2px solid var(--surface); outline-offset:2px; box-shadow:0 0 0 4px var(--hunter); border-radius:2px;}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}
}

.wrap{max-width:1120px; margin:0 auto; padding-inline:20px;}
.eyebrow{
  font-size:12.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--rust); display:flex; align-items:center; gap:8px;
}
.eyebrow::before{content:""; width:22px; height:1px; background:var(--rust); display:inline-block;}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:env(safe-area-inset-top,0px); z-index:40;
  background:var(--bg);
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{display:flex; align-items:center; justify-content:space-between; padding-block:16px;}
.brand{display:flex; align-items:center; gap:14px; font-family:"Work Sans",sans-serif; font-weight:700; font-size:36px; -webkit-text-stroke:0.4px currentColor; letter-spacing:.01em; text-transform:uppercase; background:none; border:0; cursor:pointer; color:var(--hunter); text-decoration:none;}
.brand-mark{width:96px; height:96px; display:grid; place-items:center; flex:none;}
.brand-mark img{width:96px; height:96px; object-fit:contain; display:block;}
.brand small{display:block; font-family:"Work Sans",sans-serif; font-weight:700; font-size:16px; letter-spacing:.05em; color:var(--ink-soft); text-transform:uppercase;}
@media (max-width:480px){
  .site-header .wrap{padding-block:10px;}
  .brand{font-size:24px; gap:10px;}
  .brand small{font-size:13px;}
  .brand-mark, .brand-mark img{width:56px; height:56px;}
}
@media (max-width:360px){
  .wrap{padding-inline:16px;}
  .brand{font-size:21px; gap:8px;}
  .brand small{font-size:11.5px;}
  .brand-mark, .brand-mark img{width:48px; height:48px;}
}

nav.main-nav{display:flex; gap:6px;}
nav.main-nav button, nav.main-nav a{
  background:none; border:0; padding:10px 14px; border-radius:999px; cursor:pointer;
  font-size:14.5px; font-weight:500; color:var(--ink-soft); text-decoration:none; display:inline-block;
}
nav.main-nav button:hover, nav.main-nav a:hover{color:var(--ink); background:var(--surface-2);}
.nav-cta{
  background:var(--hunter) !important; color:var(--surface) !important; font-weight:600 !important;
}
.nav-cta:hover{background:var(--hunter-hover) !important;}
.menu-toggle{display:none; background:none; border:1px solid var(--line); border-radius:8px; width:44px; height:44px; cursor:pointer;}
.menu-toggle svg{width:20px; height:20px; stroke:var(--ink);}

@media (max-width:820px){
  nav.main-nav{
    position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch;
    max-height:calc(100dvh - var(--header-h)); overflow-y:auto;
    background:var(--surface); padding:10px; border-bottom:1px solid var(--line);
    transform:translateY(-140%); visibility:hidden; gap:2px;
    transition:transform .25s ease, visibility 0s linear .25s;
  }
  nav.main-nav.open{transform:translateY(0); visibility:visible; transition:transform .25s ease, visibility 0s linear 0s;}
  nav.main-nav button, nav.main-nav a{text-align:left; padding:13px 14px;}
  .menu-toggle{display:grid; place-items:center;}
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:13px 22px; border-radius:999px;
  font-weight:600; font-size:15px; cursor:pointer; border:1px solid transparent; text-decoration:none;
}
.btn-primary{background:var(--hunter); color:var(--surface);}
.btn-primary:hover{background:var(--hunter-hover);}
.btn-ghost{background:transparent; border-color:var(--ink); color:var(--ink);}
.btn-ghost:hover{background:var(--surface-2);}

/* ---------- hero ---------- */
.hero{position:relative; overflow:hidden; border-bottom:1px solid var(--line);}
.hero-pattern{
  position:absolute; inset:0; z-index:0; opacity:.55;
  background:
    repeating-radial-gradient(circle at 15% 20%, transparent 0 26px, color-mix(in srgb, var(--gold) 35%, transparent) 27px 28px, transparent 29px 54px);
  -webkit-mask-image:linear-gradient(to bottom, black, transparent 85%);
  mask-image:linear-gradient(to bottom, black, transparent 85%);
}
.hero .wrap{
  position:relative; z-index:1; padding-block:52px 64px;
  display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:start;
}
.hero-copy{display:grid; gap:26px; max-width:560px;}
.hero h1{font-size:clamp(32px,4.6vw,50px);}
.hero .lede{font-size:17.5px; color:var(--ink-soft); max-width:56ch;}
.hero .motto{font-family:"Fraunces",serif; font-weight:600; font-size:17px; color:var(--hunter); max-width:50ch;}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:6px;}
.hero-figure{position:relative;}
.hero-figure img{
  width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:22px;
  box-shadow:0 24px 48px -20px rgba(0,0,0,.35);
}
.hero-figure .tag{
  position:absolute; left:18px; bottom:18px; background:var(--surface);
  border-radius:12px; padding:10px 14px; box-shadow:0 12px 24px -10px rgba(0,0,0,.3);
  font-size:12.5px; font-weight:600; color:var(--ink); display:flex; align-items:center; gap:8px;
}
.hero-figure .tag img{width:18px; height:18px; border-radius:50%; object-fit:contain;}
@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr; padding-block:48px 40px;}
  .hero-figure{max-width:420px;}
}
@media (max-width:600px){
  .hero .wrap{padding-block:24px 40px; gap:28px;}
  .hero-figure img{aspect-ratio:4/3;}
}

/* ---------- stats ---------- */
.stats{background:var(--hunter-dark); color:var(--on-dark);}
.stats .wrap{display:grid; grid-template-columns:repeat(3,1fr); gap:28px 20px; padding-block:36px; align-items:center;}
.stat b{font-family:"Fraunces",serif; font-size:clamp(26px,4vw,38px); font-weight:600; display:block; font-variant-numeric:tabular-nums; line-height:1.15; margin-bottom:8px;}
.stat:nth-child(-n+3) b{min-height:2.3em; display:flex; align-items:flex-end;}
@media (max-width:640px){ .stat:nth-child(-n+3) b{min-height:0; display:block;} }
.stat span{font-size:13.5px; color:var(--on-dark); color:color-mix(in srgb, var(--on-dark) 80%, transparent);}
@media (max-width:640px){ .stats .wrap{grid-template-columns:1fr; text-align:center;} }

/* ---------- sections generic ---------- */
section{padding-block:74px;}
.section-head{max-width:640px; margin-bottom:40px; display:grid; gap:14px;}
.section-head h2{font-size:clamp(26px,3.4vw,36px);}
.section-head p{color:var(--ink-soft); font-size:16px;}
.section-head .callout{color:var(--hunter); font-weight:600; font-size:16px; margin-top:4px;}

/* ---------- services ---------- */
.services{background:var(--surface-2); border-block:1px solid var(--line);}
.service-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px;}
@media (max-width:860px){ .service-grid{grid-template-columns:1fr 1fr;} }
.service-card{
  background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:26px 22px; display:grid; gap:14px; align-content:start;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  border-color:var(--hunter);
  box-shadow:0 20px 36px -20px color-mix(in srgb, var(--hunter) 55%, transparent);
}
.service-card .icon{
  width:46px; height:46px; border-radius:10px; background:color-mix(in srgb, var(--hunter) 12%, transparent); display:grid; place-items:center;
  transition:background .25s ease, transform .25s ease;
}
.service-card:hover .icon{background:var(--hunter); transform:scale(1.08) rotate(-4deg);}
.service-card .icon svg{width:24px; height:24px; stroke:var(--hunter); transition:stroke .25s ease;}
.service-card:hover .icon svg{stroke:var(--surface);}
.service-card h3{font-size:18px; transition:color .25s ease;}
.service-card:hover h3{color:var(--hunter);}
.service-card p{color:var(--ink-soft); font-size:14.5px;}
@media (max-width:560px){ .service-grid{grid-template-columns:1fr;} }

.service-trio{display:grid; grid-template-columns:repeat(6,1fr); align-items:stretch; gap:18px; margin-bottom:36px;}
.trio-connector{display:none;}
.service-trio .service-card.feature{grid-column:span 2;}
.service-trio .service-card.feature:nth-of-type(n+4){grid-column:span 3;}
.service-trio .service-card.feature{
  flex:1; background:var(--surface); border:1.5px solid var(--hunter); padding:30px 26px;
}
.service-trio .service-card.feature .icon{
  width:52px; height:52px;
  background:color-mix(in srgb, var(--hunter) 16%, transparent);
}
.service-trio .service-card.feature:hover .icon{background:var(--hunter);}
.service-trio .service-card.feature .icon svg{width:27px; height:27px;}
.trio-connector{
  align-self:center; font-family:"Fraunces",serif; font-size:28px; font-weight:600; color:var(--line); flex:none;
}
.mark{font-weight:700; color:var(--hunter); text-decoration:underline; text-decoration-color:var(--rust); text-decoration-thickness:2px; text-underline-offset:3px;}
.sand-note{color:var(--ink-soft); font-size:15px; max-width:900px; margin:-16px 0 36px;}
.services-sub-head{font-size:15px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:18px;}
@media (max-width:900px){
  .service-trio{grid-template-columns:1fr;}
  .service-trio .service-card.feature, .service-trio .service-card.feature:nth-of-type(n+4){grid-column:auto;}
  .trio-connector{transform:rotate(90deg); padding:2px 0;}
}

/* ---------- project gallery ---------- */
.gallery{background:var(--surface-2); border-bottom:1px solid var(--line);}
.gallery-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.gallery-card{position:relative; border-radius:16px; overflow:hidden; aspect-ratio:4/5; box-shadow:0 16px 32px -18px rgba(0,0,0,.3);}
.gallery-card img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}
.gallery-card:hover img{transform:scale(1.05);}
.gallery-card .caption{
  position:absolute; inset:auto 0 0 0; padding:34px 16px 14px;
  background:linear-gradient(to top, rgba(15,17,10,.92) 0%, rgba(15,17,10,.72) 60%, transparent 100%);
  color:#fff; font-size:13.5px; font-weight:600; letter-spacing:.02em;
  text-shadow:0 1px 3px rgba(0,0,0,.6);
}
@media (max-width:860px){ .gallery-grid{grid-template-columns:1fr; } .gallery-card{aspect-ratio:16/10;} }

/* ---------- story ---------- */
.story{position:relative; overflow:hidden;}
.story-watermark{
  position:absolute; right:-90px; top:50%; transform:translateY(-50%);
  width:420px; height:420px; opacity:.08; filter:grayscale(1); pointer-events:none; z-index:0;
  object-fit:contain;
}
.story .wrap{position:relative; z-index:1; max-width:720px;}
.story-copy p + p{margin-top:15px;}
.story-copy{color:var(--ink-soft); font-size:16px;}
.story-figure{margin-top:22px; border-radius:16px; overflow:hidden; box-shadow:0 16px 32px -18px rgba(0,0,0,.3); max-width:520px;}
.story-figure img{width:100%; aspect-ratio:16/10; object-fit:cover;}
@media (max-width:860px){ .story-watermark{display:none;} }

/* ---------- contact ---------- */
.contact{background:var(--hunter-dark); color:var(--on-dark);}
.contact .eyebrow{color:var(--gold-contrast);}
.contact .eyebrow::before{background:var(--gold-contrast);}
.contact h2{color:var(--on-dark);}
.contact .section-head p{color:var(--on-dark); color:color-mix(in srgb, var(--on-dark) 85%, transparent);}
.contact .info-card .inline-link{color:var(--gold-contrast);}
.contact .section-head :focus-visible, .contact .info-card :focus-visible{outline:3px solid var(--on-dark); outline-offset:3px; box-shadow:none;}
footer :focus-visible{outline:2px solid currentColor; outline-offset:3px; box-shadow:none;}
.cta-row{display:flex; flex-wrap:wrap; gap:12px; margin-top:22px;}
.cta-chip{
  display:inline-flex; align-items:center; gap:9px; padding:13px 22px; border-radius:999px;
  background:var(--on-dark); color:#101B3A; font-weight:700; font-size:14.5px;
  text-decoration:none; transition:transform .2s ease, box-shadow .2s ease;
}
.cta-chip:hover{transform:translateY(-3px); box-shadow:0 14px 26px -14px rgba(0,0,0,.45);}
.contact-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:40px;}
.info-card{display:grid; gap:22px; align-content:start;}
.info-item b{display:block; font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-contrast); margin-bottom:4px;}
.info-row{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
form{background:var(--surface); color:var(--ink); border-radius:16px; padding:28px; display:grid; gap:16px;}
.field{display:grid; gap:6px;}
.field label{font-size:13px; font-weight:600;}
.field input, .field textarea{
  border:1px solid var(--field-border); border-radius:10px; padding:11px 13px; font:inherit; background:var(--surface);
  color:var(--ink); resize:vertical;
}
.field small{color:var(--ink-soft); font-size:12.5px;}
.consent{font-size:13px; color:var(--ink-soft);}
.form-status{font-size:13px; color:var(--ink); background:var(--surface-2); padding:12px 14px; border-radius:10px; border:1px solid var(--line);}
@media (max-width:860px){ .contact-grid{grid-template-columns:1fr;} }

/* ---------- footer ---------- */
footer{background:var(--ink); color:var(--bg); color:color-mix(in srgb, var(--bg) 92%, transparent);}
footer .wrap{padding-block:32px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;}
footer nav{display:flex; gap:18px; flex-wrap:wrap;}
footer nav button, footer nav a{background:none; border:0; color:inherit; font-size:13.5px; cursor:pointer; padding:4px 0; opacity:.85; text-decoration:none;}
footer nav button:hover, footer nav a:hover{opacity:1; text-decoration:underline;}
footer .foot-brand{font-size:13px; opacity:.8;}
.foot-credit{display:inline-block; margin-top:4px; padding-block:4px; font-size:13px; color:inherit; text-decoration:none;}
.foot-credit:hover{opacity:1; text-decoration:underline;}

/* ---------- legal pages ---------- */
.legal{padding-block:64px; min-height:60vh;}
.legal .wrap{max-width:760px;}
.legal h1{font-size:clamp(28px,4vw,38px); margin-bottom:8px;}
.legal .updated{color:var(--ink-soft); font-size:13.5px; margin-bottom:28px;}
.legal h2{font-size:19px; margin-top:34px; margin-bottom:10px; font-family:"Work Sans",sans-serif; font-weight:700;}
.legal p, .legal li{color:var(--ink-soft); font-size:15px;}
.legal p + p{margin-top:10px;}
.legal ul{margin:10px 0 0; padding-left:20px; display:grid; gap:6px;}
.legal .notice{margin-top:14px; padding:14px 16px; border-left:3px solid var(--hunter); background:var(--surface-2); border-radius:0 10px 10px 0; color:var(--ink);}
.legal ul + p{margin-top:12px;}
.back-link{display:inline-flex; gap:6px; align-items:center; margin-bottom:24px; font-size:14px; font-weight:600; background:none; border:0; cursor:pointer; color:var(--hunter); text-decoration:none;}
.back-link:hover{text-decoration:underline;}

[hidden]{display:none !important;}

.foot-qr{display:flex; align-items:center; gap:12px; margin-bottom:10px; color:inherit; text-decoration:none; font-size:13px; opacity:.95;}
.foot-qr img{background:#fff; padding:4px; border-radius:8px; width:92px; height:92px;}
.foot-qr:hover span{text-decoration:underline;}

.obj-right{object-position:85% center;}
.ico-inline{vertical-align:-4px; margin-right:6px;}
form .btn{justify-self:start;}
.form-hint{font-size:12.5px; color:var(--ink-soft);}
@media (max-width:400px){ form{padding:20px;} .cta-chip{flex:1 1 100%; justify-content:center;} }
/* Handy quer: Header nicht fixieren, sonst bleibt kaum Platz für Inhalt */
@media (max-height:500px) and (orientation:landscape){ :root{--header-h:0px;} .site-header{position:relative;} }
@media (max-width:600px){
  section{padding-block:52px;}
  .hero{padding-block:0;}
  .section-head{margin-bottom:28px;}
}

/* ---------- große Bildschirme: etwas mehr Breite, ruhigere Proportionen ---------- */
.hero{padding-block:0;}
@media (min-width:1200px){
  .wrap{max-width:1180px;}
}
@media (min-width:1400px){ .wrap{max-width:1320px;} }
@media (min-width:1700px){ .wrap{max-width:1440px;} }
@media (min-width:1200px){
  .hero .wrap{padding-block:56px 72px; gap:56px; align-items:center;}
  .hero-copy{max-width:600px;}
  .hero .lede{font-size:18px;}
  .hero-figure{max-width:480px; justify-self:end; width:100%;}
  .hero-figure img{aspect-ratio:1/1;}
  .section-head{max-width:720px;}
  .story .wrap{max-width:760px;}
  .story-copy{font-size:16.5px;}
  .story-figure{max-width:100%;}
}
/* Galerie auf Desktop im Querformat statt hoher Hochformat-Kacheln */
@media (min-width:861px){
  .gallery-card{aspect-ratio:4/3;}
}

/* ---------- Instagram-QR im Header (nur auf großen Bildschirmen) ---------- */
.site-header .wrap{gap:24px;}
nav.main-nav{margin-left:auto;}
.header-qr{display:none; align-items:center; gap:10px; padding-left:22px; border-left:1px solid var(--line); color:var(--ink-soft); text-decoration:none; font-size:12.5px; line-height:1.3;}
.header-qr img{width:64px; height:64px; background:#fff; padding:4px; border-radius:8px; border:1px solid var(--line);}
.header-qr b{display:block; color:var(--ink); font-size:13.5px;}
.header-qr:hover b{text-decoration:underline;}
@media (min-width:1100px){ .header-qr{display:flex;} }

@media (min-width:1400px){ .gallery-card{aspect-ratio:16/10;} }

/* ---------- Über mich: Desktop zweispaltig (Text links, Foto rechts) ---------- */
@media (min-width:1000px){
  .story .wrap{max-width:1180px;}
  .story-watermark{display:none;}
  .story-copy{display:grid; grid-template-columns:minmax(0,680px) minmax(0,1fr); column-gap:64px; align-items:start;}
  .story-copy > *{grid-column:1;}
  .story-copy p + p{margin-top:15px;}
  .story-figure{grid-column:2; grid-row:1 / span 6; margin-top:0; max-width:none; position:sticky; top:calc(var(--header-h) + 24px);}
  .story-figure img{aspect-ratio:4/5;}
}
@media (min-width:1400px){ .story .wrap{max-width:1320px;} }
@media (min-width:1700px){ .story .wrap{max-width:1440px;} }

/* Hero-Bild auf breiten Bildschirmen größer, damit die Mitte nicht leer wirkt */
@media (min-width:1400px){ .hero-figure{max-width:560px;} .hero-copy{max-width:620px;} }
@media (min-width:1700px){ .hero-figure{max-width:620px;} }

/* Hero Desktop: Text links fluchtend mit Logo, Bild füllt rechts bis zum Rand, fester Abstand */
@media (min-width:1200px){
  .hero .wrap{grid-template-columns:minmax(0,580px) minmax(0,1fr); gap:72px; padding-block:48px 64px;}
  .hero-copy{max-width:580px;}
  .hero-figure, .hero-figure{max-width:none; justify-self:stretch;}
  .hero-figure img{aspect-ratio:5/4;}
}
@media (min-width:1400px){ .hero-figure{max-width:none;} }
@media (min-width:1700px){ .hero-figure{max-width:none;} }

/* ---------- Hover-Effekte: Hero-Bild und Logo (nur mit Maus) ---------- */
.hero-figure{transition:transform .5s cubic-bezier(.2,.7,.2,1);}
.hero-figure img{transition:box-shadow .5s ease, filter .5s ease;}
.brand-mark img{transition:transform .45s cubic-bezier(.34,1.56,.64,1);}
@media (hover:hover){
  .hero-figure:hover{transform:translateY(-6px) scale(1.012);}
  .hero-figure:hover img{box-shadow:0 36px 64px -24px rgba(0,0,0,.45); filter:saturate(1.08);}
  .brand:hover .brand-mark img{transform:rotate(-6deg) scale(1.06);}
}
