@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --bg: #fbfaf5;
  --text: #16212e;
  --muted: #f3ead8;
  --primary: #075e73;
  --primary-dark: #123047;
  --accent: #36b7c9;
  --accent-soft: #e5f7f8;
  --sand: #f3e8d2;
  --cream: #fffdf8;
  --border: rgba(7, 94, 115, 0.16);
  --shadow: 0 20px 55px rgba(18, 48, 71, 0.12);
  --soft-shadow: 0 12px 34px rgba(18, 48, 71, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(54, 183, 201, 0.12), transparent 32rem),
    linear-gradient(180deg, #fffdf8 0%, #fbfaf5 46%, #ffffff 100%);
  line-height: 1.68;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(7, 94, 115, 0.12);
  backdrop-filter: blur(16px);
}

.nav { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}
.logo::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.nav-links { display: flex; gap: 22px; align-items: center; font-size: 0.95rem; font-weight: 650; color: rgba(22, 33, 46, 0.82); }
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; color: var(--primary-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d7e92 100%);
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(7, 94, 115, 0.2);
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(7, 94, 115, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(7, 94, 115, 0.22); }
.btn-secondary { background: rgba(255, 253, 248, 0.82); color: var(--primary-dark); border-color: rgba(7, 94, 115, 0.18); box-shadow: none; }
.btn-secondary:hover { background: #ffffff; }
.btn-small { padding: 9px 16px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 96px;
  background:
    radial-gradient(circle at 85% 20%, rgba(54, 183, 201, 0.24), transparent 20rem),
    radial-gradient(circle at 18% 5%, rgba(243, 232, 210, 0.9), transparent 26rem),
    linear-gradient(135deg, #fffdf8 0%, #edf9f8 55%, #f3e8d2 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: auto -10% -72px -10%;
  height: 170px;
  background:
    radial-gradient(60% 85% at 50% 0%, rgba(255,255,255,0.72), transparent 70%),
    linear-gradient(90deg, rgba(54,183,201,0.16), rgba(7,94,115,0.08), rgba(243,232,210,0.22));
  border-radius: 50% 50% 0 0;
  transform: rotate(-2deg);
}
.hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: 72px;
  border: 1px solid rgba(7,94,115,0.11);
  border-radius: 47% 53% 61% 39%;
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 52px; align-items: center; }

h1, h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary-dark);
  font-weight: 700;
}
h1 { font-size: clamp(2.65rem, 5vw, 4.9rem); line-height: 1.02; margin: 0 0 22px; letter-spacing: -0.045em; max-width: 820px; }
h2 { font-size: clamp(2.05rem, 3vw, 3.1rem); line-height: 1.14; margin: 0 0 20px; letter-spacing: -0.035em; }
h3 { margin-top: 0; color: var(--primary-dark); font-size: 1.18rem; }
p { margin-top: 0; }
.lead { font-size: 1.18rem; max-width: 680px; color: rgba(22, 33, 46, 0.72); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0 0 13px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 34px;
  height: 1px;
  margin-right: 11px;
  background: var(--accent);
  vertical-align: middle;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-card {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(7, 94, 115, 0.14);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 16px;
  backdrop-filter: blur(10px);
}
.stat {
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(229, 247, 248, 0.95), rgba(255, 253, 248, 0.9));
  border: 1px solid rgba(54, 183, 201, 0.22);
}
.stat strong { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 2.15rem; color: var(--primary); line-height: 1; }
.stat span { display: block; margin-top: 8px; color: rgba(22, 33, 46, 0.68); font-weight: 600; }

.section { padding: 86px 0; }
.muted { background: linear-gradient(180deg, rgba(243, 232, 210, 0.54), rgba(229, 247, 248, 0.44)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.info-box, .card, .contact-form, .placeholder, .impressum-card, .cert-card {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(7, 94, 115, 0.14);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}
.info-box, .card, .contact-form, .placeholder { padding: 30px; }
.card { position: relative; overflow: hidden; }
.card::before, .info-box::before, .contact-form::before {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--sand));
  margin-bottom: 18px;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(18, 48, 71, 0.11); }
.clean-list { padding-left: 0; list-style: none; margin-bottom: 0; }
.clean-list li { padding: 12px 0; border-bottom: 1px solid rgba(7, 94, 115, 0.12); }
.clean-list li:last-child { border-bottom: 0; }
.cards { display: grid; gap: 24px; margin-top: 32px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card ul { margin-bottom: 0; padding-left: 20px; }
.card li::marker { color: var(--accent); }

.timeline { display: grid; gap: 16px; }
.timeline div {
  position: relative;
  padding: 24px 24px 24px 82px;
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(7, 94, 115, 0.14);
  box-shadow: var(--soft-shadow);
}
.timeline span {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(7,94,115,0.2);
}
.timeline p { margin-bottom: 0; color: rgba(22, 33, 46, 0.66); }
.placeholder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.placeholder { min-height: 140px; display: grid; place-items: center; color: rgba(22,33,46,0.62); background: rgba(229,247,248,0.42); border-style: dashed; }
.cta { padding: 0; background: linear-gradient(180deg, #fffdf8, rgba(243,232,210,0.45)); }
.cta-box {
  background:
    radial-gradient(circle at 88% 18%, rgba(54, 183, 201, 0.34), transparent 14rem),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 34px;
  padding: 46px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-box h2 { color: #fff; }
.cta-box p { margin-bottom: 0; color: rgba(255,255,255,0.86); }
.cta .btn { background: #fffdf8; color: var(--primary-dark); border-color: #fffdf8; box-shadow: none; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-weight: 800; color: var(--primary-dark); }
input, textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(7, 94, 115, 0.18);
  border-radius: 16px;
  font: inherit;
  background: #fff;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(54,183,201,0.12); }
.small-text { font-size: .95rem; color: rgba(22,33,46,0.68); }
.footer {
  padding: 28px 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(54,183,201,0.2), transparent 18rem),
    #101c2a;
  color: #dce8ee;
}
.footer-grid { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer a { color: #fff; font-weight: 700; }
.footer a:hover { color: #aeeaf0; }

.compact-hero { padding: 94px 0 58px; }
.compact-hero h1 { max-width: 900px; }

/* Zertifikate-Seite: kleinere, proportionale Darstellung */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 30px;
}
.cert-card { padding: 24px; }
.cert-card img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  background: linear-gradient(180deg, #ffffff, #f6fbfb);
  border: 1px solid rgba(7, 94, 115, 0.14);
  border-radius: 20px;
  padding: 10px;
  margin-bottom: 18px;
}
.text-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Impressum-Seite: nur diese Seite wird zentriert */
.impressum-centered { text-align: center; }
.impressum-centered .lead { margin-left: auto; margin-right: auto; }
.impressum-section { display: flex; align-items: center; }
.impressum-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 38px;
}
.impressum-card p { margin: 0 0 24px; }
.impressum-card p:last-child { margin-bottom: 0; }
.impressum-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.impressum-hero h1 {
  width: 100%;
  max-width: none;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Sprachumschalter */
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 7px 12px;
  border: 1px solid rgba(7, 94, 115, 0.17);
  border-radius: 999px;
  color: var(--primary-dark);
  font-weight: 900;
  background: rgba(255, 253, 248, 0.88);
}
.language-switch:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(255,253,248,0.98);
    border-bottom: 1px solid rgba(7,94,115,0.14);
    padding: 18px 16px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-open .nav-links { display: flex; }
  .hero { padding: 86px 0 68px; }
  .hero-grid, .split, .cards.two, .cards.three, .placeholder-grid, .cert-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 32px; }
  .language-switch { min-width: auto; }
  .cert-card img { max-height: 340px; }
}

/* Bildbereiche: Produktionsstandort und internationale Erfahrung */
.visual-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}
.visual-split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(7, 94, 115, 0.14);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}
.media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(7, 94, 115, 0.08), transparent 45%, rgba(243, 232, 210, 0.14));
}
.media-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.factory-card { min-height: 420px; }
.factory-card img { aspect-ratio: 16 / 9; }
.exhibition-card { min-height: 330px; }
.exhibition-card img { aspect-ratio: 16 / 7.1; }
.image-stats {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 28px rgba(18, 48, 71, 0.14);
}
.image-stats span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(229, 247, 248, 0.58);
  color: rgba(22, 33, 46, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}
.image-stats strong {
  display: block;
  color: var(--primary);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.12rem;
  line-height: 1;
}
.facility-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(54, 183, 201, 0.13), transparent 22rem),
    linear-gradient(180deg, #fffdf8, rgba(229, 247, 248, 0.42));
}
.international-section {
  background:
    radial-gradient(circle at 85% 30%, rgba(243, 232, 210, 0.76), transparent 24rem),
    linear-gradient(180deg, rgba(255,253,248,0.95), rgba(229,247,248,0.34));
}

@media (max-width: 840px) {
  .visual-split,
  .visual-split.reverse { grid-template-columns: 1fr; }
  .factory-card,
  .exhibition-card { min-height: auto; }
  .image-stats {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(2, 1fr);
    margin: -8px 12px 12px;
  }
}
