/* ═══════════════════════════════════════
   Design Tokens
   ═══════════════════════════════════════ */
:root {
  --bg-start: #e4ecf1;
  --bg-mid:   #eef4f8;
  --bg-end:   #f6f9fb;

  --panel: rgba(255, 255, 255, 0.84);
  --panel-border: rgba(80, 110, 132, 0.14);

  --text-main: #1a2c37;
  --text-soft: #506e7f;

  --accent: #5a8da8;
  --accent-deep: #3b6a84;
  --accent-pale: #d1e3ed;
  --accent-ultra: #e8f1f6;

  --grad-brand: linear-gradient(135deg, #3b6a84 0%, #5a8da8 45%, #8fb8cc 100%);
  --grad-warm:  linear-gradient(135deg, #5a8da8 0%, #7ba7bc 50%, #a6ccd9 100%);
  --grad-subtle: linear-gradient(170deg, rgba(255,255,255,0.94), rgba(240,247,252,0.88));

  --shadow-sm: 0 4px 14px rgba(36, 52, 63, 0.05);
  --shadow-md: 0 12px 36px rgba(30, 48, 60, 0.08);
  --shadow-lg: 0 22px 52px rgba(26, 44, 55, 0.11);

  --radius: 18px;
  --radius-sm: 14px;
}

/* ═══════════════════════════════════════
   Reset
   ═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  line-height: 1.65;
  background:
    radial-gradient(ellipse 120% 70% at 18% -8%, rgba(90,141,168,0.11) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 108%, rgba(59,106,132,0.07) 0%, transparent 50%),
    linear-gradient(168deg, var(--bg-start), var(--bg-mid) 50%, var(--bg-end));
  background-attachment: fixed;
}

/* ═══════════════════════════════════════
   Layout Shell
   ═══════════════════════════════════════ */
.page-shell {
  width: min(980px, 92vw);
  margin: 2.2rem auto 1.6rem;
}

/* ═══════════════════════════════════════
   Language Nav
   ═══════════════════════════════════════ */
.language-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.language-nav a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--accent-deep);
  border: 1px solid transparent;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  transition: all 0.24s ease;
  font-weight: 500;
}

.language-nav a:hover,
.language-nav a:focus-visible {
  border-color: var(--accent-pale);
  background: rgba(255,255,255,0.75);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.language-nav a[aria-current="page"] {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(59,106,132,0.22);
}

/* ═══════════════════════════════════════
   Hero
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-subtle), var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  padding-top: clamp(2.8rem, 5.5vw, 4rem);
  text-align: center;
}

.hero-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-brand);
  border-radius: var(--radius) var(--radius) 0 0;
}

.hero-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-ultra);
  border: 1px solid var(--accent-pale);
  color: var(--accent-deep);
}

.hero-icon svg {
  width: 26px;
  height: 26px;
}

.eyebrow {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-weight: 600;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.8vw, 3.6rem);
  line-height: 1.06;
  margin: 0.5rem 0 0.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1a2c37 20%, #3b6a84 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.meta {
  margin: 0 0 1.4rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hero-statement {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text-main);
}

/* ═══════════════════════════════════════
   Sections
   ═══════════════════════════════════════ */
.section {
  margin-top: 1.6rem;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-weight: 600;
  color: var(--accent-deep);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.01em;
}

.section-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ═══════════════════════════════════════
   Grids
   ═══════════════════════════════════════ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

/* ═══════════════════════════════════════
   Feature Cards (Fachgebiete)
   ═══════════════════════════════════════ */
.feature-card {
  background: var(--grad-subtle), var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: clamp(1.3rem, 2.6vw, 1.8rem);
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 14px rgba(59,106,132,0.2);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--text-main);
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   Client Cards (Für wen)
   ═══════════════════════════════════════ */
.client-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  text-align: center;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.client-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.client-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-ultra);
  border: 1px solid var(--accent-pale);
  color: var(--accent-deep);
}

.client-icon svg {
  width: 22px;
  height: 22px;
}

.client-card h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-main);
}

/* ═══════════════════════════════════════
   CTA Banner
   ═══════════════════════════════════════ */
.cta-banner {
  margin-top: 1.6rem;
  background: var(--grad-brand);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.6rem, 3.5vw, 2.4rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 28px rgba(59,106,132,0.18);
}

.cta-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.85);
}

.cta-banner p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

/* ═══════════════════════════════════════
   Contact Cards
   ═══════════════════════════════════════ */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

a.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--accent-pale);
}

.contact-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-ultra);
  border: 1px solid var(--accent-pale);
  color: var(--accent-deep);
  margin-bottom: 0.45rem;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}

.contact-value {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.45;
}

/* ═══════════════════════════════════════
   Impressum
   ═══════════════════════════════════════ */
.impressum-panel {
  background: rgba(255,255,255,0.50);
  border: 1px solid rgba(80,110,132,0.10);
  border-radius: var(--radius-sm);
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
}

.impressum-panel p {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.impressum-panel p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════
   Footer
   ═══════════════════════════════════════ */
.site-footer {
  margin-top: 2.2rem;
  text-align: center;
  padding-bottom: 1.2rem;
}

.footer-bar {
  width: 80px;
  height: 2px;
  margin: 0 auto 0.8rem;
  border-radius: 2px;
  background: var(--grad-brand);
  opacity: 0.3;
}

.site-footer p {
  font-size: 0.76rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  margin: 0;
}

/* ═══════════════════════════════════════
   Links (global)
   ═══════════════════════════════════════ */
a {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover {
  color: #2c5068;
  border-bottom-color: var(--accent-pale);
}

/* ═══════════════════════════════════════
   Reveal animation
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   Responsive
   ═══════════════════════════════════════ */
@media (max-width: 740px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .language-nav {
    justify-content: center;
  }
}

@media (min-width: 741px) and (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
