/* ==========================================================================
   BIKenergy GmbH — Website styles
   Modern, clean, renewable-energy aesthetic.
   Colours & fonts are defined as CSS variables so they can be swapped
   easily once the final logo / brand guide is ready.
   ========================================================================== */

:root {
  /* --- Brand palette (placeholder — swap when brand guide is ready) --- */
  --ink:        #0a1f2b;   /* deep teal-navy — primary dark */
  --ink-2:      #0f2c3c;   /* slightly lighter navy */
  --ink-3:      #16465a;   /* muted steel for accents on dark */
  --accent:     #d9a31b;   /* brand gold */
  --accent-2:   #f0c24b;   /* lighter gold (gradients/hover) */
  --accent-ink: #6d4f0c;   /* deep ochre for text on light */

  /* --- Neutrals --- */
  --bg:         #ffffff;
  --bg-soft:    #f5f8f8;
  --bg-softer:  #eef3f4;
  --line:       #e2e9ea;
  --text:       #16323b;
  --text-soft:  #4d6670;
  --text-mute:  #7a929b;
  --white:      #ffffff;

  /* --- Type --- */
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* --- Metrics --- */
  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 18px rgba(10, 31, 43, .06);
  --shadow-md: 0 18px 44px rgba(10, 31, 43, .12);
  --shadow-lg: 0 30px 70px rgba(10, 31, 43, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.28rem; }
p  { margin: 0 0 1em; }

::selection { background: var(--accent); color: var(--ink); }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #cfe0e6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.narrow { max-width: 760px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.grid { display: grid; gap: 28px; }
@media (min-width: 640px)  { .cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .cols-3 { grid-template-columns: repeat(3, 1fr); }
                             .cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--accent-2); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.lead { font-size: 1.12rem; color: var(--text-soft); }
.section--dark .lead { color: #b8ccd3; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--btn-bg); color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  box-shadow: 0 10px 24px rgba(217, 163, 27, .28);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(217, 163, 27, .36); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); box-shadow: none; }

.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); box-shadow: none; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); box-shadow: none; }

.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--accent-ink);
  transition: gap .2s var(--ease);
}
.link-arrow:hover { gap: 14px; }
.section--dark .link-arrow { color: var(--accent-2); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

/* transparent over dark heroes, solid after scroll */
.site-header.is-transparent { background: transparent; }
.site-header.is-solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

/* Brand logo (gold lockup, shown as a badge). Swapping the CSS here replaces
   the logo in every page header and footer at once. */
.brand {
  display: inline-block; flex: none; width: 98px; height: 47px; padding: 0;
  background: url('../img/logo.jpeg') center / contain no-repeat;
  border-radius: 9px; font-size: 0; line-height: 0;
}
.brand svg, .brand .brand-name { display: none !important; }
@media (max-width: 940px) { .brand { width: 86px; height: 41px; } }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  padding: 10px 16px; border-radius: 999px; color: var(--text);
  transition: color .2s, background .2s;
}
.is-transparent .main-nav a { color: rgba(255,255,255,.88); }
.main-nav a:hover { color: var(--accent-ink); }
.is-transparent .main-nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.main-nav a.active { color: var(--accent-ink); }
.is-transparent .main-nav a.active { color: #fff; }
.main-nav a.active::after { }

.header-cta { display: flex; align-items: center; gap: 14px; }

/* Language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.is-transparent .lang-switch { border-color: rgba(255,255,255,.32); }
.lang-switch button {
  font: 600 .82rem/1 var(--font-head); padding: 9px 12px; background: transparent; border: 0;
  color: var(--text-soft); cursor: pointer; transition: background .2s, color .2s;
}
.is-transparent .lang-switch button { color: rgba(255,255,255,.82); }
.lang-switch button.active { background: var(--accent); color: var(--ink); }
.is-transparent .lang-switch button.active { background: var(--accent); color: var(--ink); }
.lang-switch button:not(.active):hover { color: var(--accent-ink); }
.is-transparent .lang-switch button:not(.active):hover { color: #fff; }
@media (max-width: 940px) { .lang-switch { margin-right: 4px; } }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s var(--ease); }
.is-transparent .nav-toggle span { background: #fff; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open .nav-toggle span { background: var(--ink); }

@media (max-width: 940px) {
  .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw);
    background: #fff; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s var(--ease);
    padding: calc(var(--header-h) + 20px) 28px 40px; z-index: 105;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1.1rem; color: var(--text) !important; border-radius: var(--radius-sm); }
  .main-nav a:hover, .main-nav a.active { background: var(--bg-soft); color: var(--accent-ink) !important; }
  .main-nav .mobile-cta { display: block; margin-top: 20px; }
  body.nav-open .main-nav { transform: translateX(0); }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(10,31,43,.45); z-index: 104;
  }
}
.mobile-cta { display: none; }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__canvas { display: block; width: 100%; height: 100%; position: relative; z-index: 1; }
.hero__video { position: absolute; inset: 0; z-index: 2; }
.hero__media::after {
  /* animated fallback / subtle sheen when no video present */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(217,163,27,.22), transparent 55%),
    linear-gradient(160deg, #061019 0%, #0a1f2b 45%, #0f2c3c 100%);
}
.hero__media video { position: relative; z-index: 1; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,13,20,.78) 0%, rgba(5,13,20,.45) 34%, rgba(5,13,20,.05) 66%, rgba(5,13,20,0) 100%),
    linear-gradient(180deg, rgba(5,13,20,.5) 0%, rgba(5,13,20,.12) 38%, rgba(5,13,20,.6) 100%);
}
.hero .container { padding-top: var(--header-h); }
.hero__inner { max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent-2); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 620px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--font-head);
}
.hero__scroll .mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px;
  background: #fff; transform: translateX(-50%); animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* Page banner (inner pages) */
.page-hero {
  position: relative; color: #fff; padding: calc(var(--header-h) + 90px) 0 90px;
  background: linear-gradient(160deg, #061019 0%, #0a1f2b 50%, #0f2c3c 100%);
  overflow: hidden; isolation: isolate;
}
/* Live animation banner behind the text */
.page-hero__canvas {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block;
}
.page-hero::before { /* legibility overlay + subtle glow over the animation */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,13,20,.72) 0%, rgba(5,13,20,.4) 42%, rgba(5,13,20,0) 78%),
    linear-gradient(180deg, rgba(5,13,20,.25) 0%, rgba(5,13,20,.5) 100%);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.86); font-size: 1.15rem; max-width: 640px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .86rem; color: rgba(255,255,255,.6); margin-bottom: 18px; font-family: var(--font-head); }
.breadcrumb a:hover { color: var(--accent-2); }

/* --------------------------------------------------------------------------
   Service cards (home)
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(217,163,27,.14), rgba(240,194,75,.18));
  color: var(--accent-ink); margin-bottom: 22px;
}
.card__icon svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft); margin-bottom: 0; font-size: .98rem; }
.card__link { margin-top: 18px; display: inline-flex; }

/* --------------------------------------------------------------------------
   Why us / KPIs
   -------------------------------------------------------------------------- */
.kpi-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .kpi-grid { grid-template-columns: repeat(5, 1fr); } }
.kpi {
  text-align: center; padding: 26px 14px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.kpi .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: #fff; line-height: 1; }
.kpi .num .unit { color: var(--accent-2); }
.kpi .label { font-size: .82rem; color: #9db4bc; margin-top: 10px; letter-spacing: .02em; }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse .split__media { order: -1; } }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split__media img, .split__media .placeholder-img { aspect-ratio: 4 / 3; width: 100%; }

/* Decorative image placeholder (used until real photos are added) */
.placeholder-img {
  position: relative; display: grid; place-items: center; color: rgba(255,255,255,.9);
  background: linear-gradient(150deg, #0a1f2b, #0f2c3c 55%, #16465a);
  overflow: hidden;
}
.placeholder-img::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px; transform: perspective(500px) rotateX(52deg) scale(1.6); transform-origin: bottom;
  opacity: .5;
}
.placeholder-img::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,194,75,.5), transparent 70%); top: -60px; right: -40px; filter: blur(6px);
}
.placeholder-img span {
  position: relative; z-index: 1; font-family: var(--font-head); font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
}

/* --------------------------------------------------------------------------
   Testimonials & partners
   -------------------------------------------------------------------------- */
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform .5s var(--ease); }
.testi {
  min-width: 100%; padding: 6px;
}
@media (min-width: 820px) { .testi { min-width: 50%; } }
.testi__card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 36px; height: 100%;
}
.testi__stars { color: #ffc94d; letter-spacing: 3px; margin-bottom: 16px; }
.testi__quote { font-size: 1.12rem; color: #e6eef1; font-style: italic; margin-bottom: 22px; }
.testi__who { display: flex; align-items: center; gap: 14px; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(140deg, var(--accent), var(--accent-2)); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #06231a; }
.testi__name { font-family: var(--font-head); font-weight: 600; color: #fff; }
.testi__role { font-size: .85rem; color: #9db4bc; }

.carousel-nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.carousel-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05); color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.carousel-nav button:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; margin-top: 56px; }
.partner {
  height: 64px; min-width: 150px; padding: 0 24px; border-radius: 14px;
  background: rgba(255,255,255,.9); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: var(--ink); letter-spacing: .02em;
  filter: grayscale(1) opacity(.75); transition: filter .3s, transform .3s;
}
.partner:hover { filter: grayscale(0) opacity(1); transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   Projects
   -------------------------------------------------------------------------- */
.project-card {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%;
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-card__media { position: relative; aspect-ratio: 16 / 10; }
.project-card__media .placeholder-img { position: absolute; inset: 0; height: 100%; }
.project-card__tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: rgba(255,255,255,.92); color: var(--accent-ink);
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  padding: 6px 14px; border-radius: 999px;
}
.project-card__body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.project-card__body h3 { margin-bottom: 14px; }
.project-meta { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.project-meta li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text-soft); }
.project-meta svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.project-meta b { color: var(--ink); font-family: var(--font-head); }

/* --------------------------------------------------------------------------
   Services detail (alternating rows)
   -------------------------------------------------------------------------- */
.service-row { padding: clamp(48px, 7vw, 90px) 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row .split { gap: 56px; }
.service-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--accent);
  letter-spacing: .1em; margin-bottom: 8px;
}
.service-list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.service-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-soft); }
.service-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }

/* --------------------------------------------------------------------------
   About values
   -------------------------------------------------------------------------- */
.value { padding: 30px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); height: 100%; }
.value__icon { width: 54px; height: 54px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--accent-ink); margin-bottom: 18px; }
.value__icon svg { width: 28px; height: 28px; }
.value h3 { font-size: 1.14rem; }
.value p { color: var(--text-soft); margin: 0; font-size: .96rem; }

.team-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member__photo { aspect-ratio: 1; position: relative; }
.member__photo .placeholder-img { position: absolute; inset: 0; height: 100%; }
.member__photo .initials { position: relative; z-index: 1; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: rgba(255,255,255,.92); }
.member__body { padding: 22px 24px; }
.member__body h3 { margin: 0 0 2px; font-size: 1.16rem; }
.member__role { color: var(--accent-ink); font-family: var(--font-head); font-weight: 500; font-size: .92rem; }

/* --------------------------------------------------------------------------
   News / newsletter
   -------------------------------------------------------------------------- */
.news-cta {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--ink), var(--ink-2) 60%, var(--ink-3));
  color: #fff; padding: clamp(40px, 6vw, 72px); isolation: isolate;
}
.news-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 130% at 90% 10%, rgba(217,163,27,.28), transparent 55%); }
.news-cta h2 { color: #fff; }
.news-cta p { color: rgba(255,255,255,.85); }

.news-item { display: grid; gap: 20px; grid-template-columns: 96px 1fr; align-items: center; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.news-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-item__date { text-align: center; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 12px 6px; }
.news-item__date .d { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.news-item__date .m { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); }
.news-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.news-item p { margin: 0; color: var(--text-soft); font-size: .94rem; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }

.contact-info { display: grid; gap: 22px; align-content: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--bg-soft); display: grid; place-items: center; color: var(--accent-ink); flex: none; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-family: var(--font-head); margin: 0 0 2px; color: var(--ink); font-size: 1rem; }
.contact-item p, .contact-item a { margin: 0; color: var(--text-soft); }
.contact-item a:hover { color: var(--accent-ink); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(217,163,27,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .84rem; color: var(--text-mute); }
.form-status { margin-top: 14px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-status.ok { display: block; background: rgba(217,163,27,.12); color: var(--accent-ink); border: 1px solid rgba(217,163,27,.3); }
.form-status.err { display: block; background: #fdecec; color: #a12222; border: 1px solid #f3c2c2; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, #123a4d, #0a1f2b 70%); color: #fff; border-radius: var(--radius); padding: clamp(40px, 6vw, 68px); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(80% 120% at 15% 20%, rgba(240,194,75,.3), transparent 55%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin-inline: auto; }
.cta-band .btn { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #9db4bc; padding-top: 72px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer .brand .brand-name { color: #fff; }
.site-footer .logo-mark-ink { fill: #fff; }
.footer-about { max-width: 340px; margin-top: 20px; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; font-family: var(--font-head); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: #9db4bc; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin-bottom: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent-2); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .86rem; }
.footer-bottom a:hover { color: var(--accent-2); }
.footer-legal { color: #6f8992; }

/* --------------------------------------------------------------------------
   Legal pages (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */
.legal { font-size: 1rem; }
.legal h2 { font-size: 1.4rem; margin: 1.8em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin: 1.3em 0 .3em; }
.legal p, .legal li { color: var(--text-soft); }
.legal address { font-style: normal; color: var(--text); line-height: 1.8; margin: 0 0 1.2em; }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--ink); }
.legal ul { padding-left: 1.25em; margin: .2em 0 1.2em; }
.legal ul li { margin-bottom: .4em; }
.legal .updated { color: var(--text-mute); font-size: .9rem; margin-top: 2.6em; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Client content additions (slogans, newsletter QR, real photos)
   -------------------------------------------------------------------------- */
.slogan { text-align: center; font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; margin: 28px 0 20px; color: #e5aa12; }
.slogansmall { text-align: center; font-weight: 700; font-size: 1rem; letter-spacing: .04em; margin: 20px 0 0; color: #e5aa12; }
.experience-note { margin-top: 20px; text-align: center; font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.5; font-style: italic; }
.qr-code { display: flex; justify-content: center; margin-top: 30px; }
.qr-code img { width: 250px; max-width: 100%; height: auto; display: block; border-radius: 12px; }
/* Real photos fill their media containers */
.split__media img { object-fit: cover; }
.placeholder-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
