/* Junge Medien – neues Layout (claude-design)
   Bewusst schlicht: ein Stylesheet, kein JavaScript, keine externen Schriften. */

:root {
  --blau: #1e3a6e;
  --blau-hell: #2d528f;
  --blau-dunkel: #142a52;
  --text: #1c1f22;
  --text-2: #4d5257;
  --flaeche: #f5f5f1;
  --linie: #e3e3db;
  --weiss: #fff;
  --max: 1160px;
  --radius: 4px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blau); }
a:hover { color: var(--blau-dunkel); }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.punkt { color: var(--blau); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blau);
  margin-bottom: 14px;
}

.lead { font-size: 1.15rem; color: var(--text); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--blau);
  color: var(--weiss);
  border: 1px solid var(--blau);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: var(--weiss); }
.btn::after { content: "\2192"; font-size: 1.15em; line-height: 1; }
.btn-hell { background: transparent; border-color: rgba(255,255,255,.8); }
.btn-hell:hover { background: var(--weiss); color: var(--blau-dunkel); }
.btn-klein { padding: 10px 18px; font-size: .92rem; }
.btn-ohne-pfeil::after { content: none; }

/* Kopfzeile */
.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.kopf .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.logo img { height: 28px; width: auto; mix-blend-mode: multiply; }
.logo span { display: flex; flex-direction: column; font-size: 1.32rem; line-height: .95; letter-spacing: .02em; }
.logo b { font-weight: 800; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--text); text-decoration: none; font-size: .97rem; }
.nav a:hover, .nav a.aktiv { color: var(--blau); }
.nav a.aktiv { font-weight: 600; }
.nav .btn { color: var(--weiss); }

.menue-schalter, .menue-knopf { display: none; }

/* Startseite: Kopfzeile liegt über dem Hero-Foto */
.start .hero { margin-top: -78px; }
.start .hero .container { padding-top: 128px; }

/* Hero: Foto füllt die Fläche, Text sitzt links auf dem hellen Teil */
.hero {
  position: relative;
  overflow: hidden;
  background: #efeee9;
}
.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 2;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(250,250,248,.94) 0%, rgba(250,250,248,.82) 28%, rgba(250,250,248,.35) 44%, rgba(250,250,248,0) 58%);
}
.hero-text { max-width: 400px; }
.hero .lead { font-size: 1.08rem; }
.hero h1 { margin-bottom: .35em; font-size: clamp(2.6rem, 5.4vw, 4.2rem); }

/* Leistungs-Kacheln */
.leistungen { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.leistungen .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.kachel {
  display: flex;
  gap: 20px;
  padding: 38px 28px;
  color: var(--text);
  text-decoration: none;
  border-left: 1px solid var(--linie);
}
.kachel:first-child { border-left: 0; padding-left: 0; }
.kachel svg { flex: none; width: 44px; height: 44px; stroke: var(--blau); }
.kachel p { color: var(--text-2); font-size: .95rem; margin-bottom: .6em; }
.kachel .pfeil { color: var(--blau); font-size: 1.3rem; transition: transform .2s; display: inline-block; }
.kachel:hover .pfeil { transform: translateX(6px); }
.kachel:hover h3 { color: var(--blau); }

/* Text + Bild */
.split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; background: linear-gradient(180deg, #fff 0%, #f8f8f5 100%); }
.split-text { padding: 64px 56px 64px max(24px, calc((100vw - var(--max)) / 2 + 24px)); align-self: center; }
.split-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.split-text p { color: var(--text-2); }
.split-bild { min-height: 420px; background-size: cover; background-position: center; }

/* Werte */
.werte { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.werte .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.wert { display: flex; gap: 22px; padding: 40px 28px; border-left: 1px solid var(--linie); }
.wert:first-child { border-left: 0; padding-left: 0; }
.wert svg { flex: none; width: 44px; height: 44px; stroke: var(--blau); }
.wert h3 { font-size: 1.12rem; margin-bottom: .4em; }
.wert h3::after { content: ""; display: block; width: 26px; height: 2px; background: var(--blau); margin-top: 12px; }
.wert p { color: var(--text-2); font-size: .95rem; margin: 0; }

/* Support / dunkler Block */
.support { display: grid; grid-template-columns: 1fr 1fr; background: var(--blau-dunkel); color: var(--weiss); }
.support-bild { min-height: 360px; background-size: cover; background-position: 70% center; }
.support-text { padding: 70px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 70px 60px; }
.support .eyebrow { color: #b8c9e8; }
.support p { color: rgba(255,255,255,.88); max-width: 30em; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Unterseiten */
.seitenkopf { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.seitenkopf .container { padding-top: 56px; padding-bottom: 40px; }
.seitenkopf h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.band { height: clamp(150px, 22vw, 260px); background-size: cover; background-position: center; }

.inhalt { padding: 70px 0; }
.inhalt .container { max-width: 880px; }
.inhalt h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.inhalt h2:first-child { margin-top: 0; }
.inhalt p, .inhalt li { color: var(--text-2); }

.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 10px 0 40px; }
.box { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 30px; }
.box h3 { margin-bottom: .5em; }
.box p:last-child { margin-bottom: 0; }

.hinweis {
  border-left: 4px solid var(--blau);
  background: var(--flaeche);
  padding: 26px 30px;
  margin: 40px 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.figur { margin: 30px 0; }
.figur img { border: 1px solid var(--linie); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.figur figcaption { font-size: .9rem; color: var(--text-2); margin-top: 10px; }

.kontaktkarte { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.kontaktkarte dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.kontaktkarte dt { font-weight: 600; }
.kontaktkarte dd { margin: 0; color: var(--text-2); }

/* Rechtstexte */
.recht { font-size: .97rem; }
.recht h2 { font-size: 1.5rem; }
.recht h3, .recht h4 { font-size: 1.12rem; margin: 1.8em 0 .5em; color: var(--text); }
.recht ul { padding-left: 1.2em; }
.recht hr { border: 0; border-top: 1px solid var(--linie); margin: 40px 0; }

/* Kontaktformular */
.formular { margin: 34px 0 50px; }
.formular-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.feld { margin-bottom: 22px; }
.feld-halb { max-width: calc(50% - 12px); }
.feld label { display: block; font-weight: 600; margin-bottom: 6px; }
.feld .optional { font-weight: 400; color: var(--text-2); font-size: .9rem; }
.pflicht { color: var(--blau); }
.feld input[type=text], .feld input[type=email], .feld input[type=tel], .feld textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--weiss);
  border: 1px solid #c9c9bf;
  border-radius: var(--radius);
  padding: 12px 14px;
}
.feld textarea { resize: vertical; min-height: 160px; }
.feld input:focus, .feld textarea:focus { outline: 2px solid var(--blau); outline-offset: 1px; border-color: var(--blau); }
.feld-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.feld-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blau); }
.feld-check label { font-weight: 400; color: var(--text-2); margin: 0; }
.feld-check .feld-fehler { grid-column: 2; }
.feld.hat-fehler input, .feld.hat-fehler textarea { border-color: #b3261e; }
.formular .feld-fehler { color: #b3261e; font-size: .92rem; margin: 6px 0 0; }
.formular .btn { cursor: pointer; font-family: inherit; }
.formular-hinweis { font-size: .88rem; color: var(--text-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.meldung { border-left: 4px solid var(--blau); background: var(--flaeche); padding: 24px 28px; margin-bottom: 30px; }
.meldung p:last-child { margin-bottom: 0; }
.meldung-fehler { border-left-color: #b3261e; }
.formular-alternative { margin-top: 10px; }

/* Fuß */
.fuss { background: #16191b; color: rgba(255,255,255,.75); font-size: .95rem; }
.fuss .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 50px; }
.fuss h3 { color: var(--weiss); font-size: 1rem; letter-spacing: 0; margin-bottom: 14px; }
.fuss a { color: rgba(255,255,255,.9); text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }
.fuss p { margin: 0 0 .3em; }
.fuss-unten { border-top: 1px solid rgba(255,255,255,.12); }
.fuss-unten .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; padding-bottom: 20px; font-size: .85rem; grid-template-columns: none; }

/* Tablet */
@media (max-width: 960px) {
  .nav { gap: 22px; }
  .hero .container { min-height: 480px; }
  .hero-text { max-width: 380px; }
  .split, .support { grid-template-columns: 1fr; }
  .split-text, .support-text { padding: 60px 24px; }
  .split-bild { min-height: 260px; }
  .support-bild { min-height: 220px; order: 2; }
  .fuss .container { grid-template-columns: 1fr 1fr; }
}

/* Handy */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .kopf .container { height: 64px; }
  .kopf { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .start .hero { margin-top: 0; }
  .start .hero .container { padding-top: 44px; }
  .logo img { height: 22px; }
  .logo span { font-size: 1.1rem; }

  .menue-knopf {
    display: block;
    width: 44px; height: 44px;
    margin-right: -10px;
    cursor: pointer;
    position: relative;
  }
  .menue-knopf span, .menue-knopf span::before, .menue-knopf span::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: var(--text); content: ""; transition: .2s;
  }
  .menue-knopf span { top: 21px; }
  .menue-knopf span::before { left: 0; top: -7px; }
  .menue-knopf span::after { left: 0; top: 7px; }

  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    padding: 8px 24px 20px;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--linie); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
  .menue-schalter:checked ~ .nav { display: flex; }
  .menue-schalter:checked + .menue-knopf span { background: transparent; }
  .menue-schalter:checked + .menue-knopf span::before { top: 0; transform: rotate(45deg); }
  .menue-schalter:checked + .menue-knopf span::after { top: 0; transform: rotate(-45deg); }

  /* Auf dem Handy steht das Foto unter dem Text statt dahinter */
  .hero { display: flex; flex-direction: column; }
  .hero::before { content: none; }
  .hero .container { min-height: 0; padding-top: 44px; padding-bottom: 36px; }
  .hero-foto { position: static; order: 2; height: 240px; object-position: 78% center; }
  .leistungen .container, .werte .container { grid-template-columns: 1fr; }
  .kachel, .wert { border-left: 0; border-top: 1px solid var(--linie); padding: 28px 0; }
  .kachel:first-child, .wert:first-child { border-top: 0; }
  .kontaktkarte { grid-template-columns: 1fr; }
  .formular-zeile { grid-template-columns: 1fr; }
  .feld-halb { max-width: none; }
  .inhalt { padding: 50px 0; }
  .fuss .container { grid-template-columns: 1fr; gap: 28px; }
}
