/* The Film Roll - Designsystem aus dem Entwurf uebernommen */

:root {
  --sand:        #F3EAD9;
  --sand-tief:   #EBDFC7;
  --sand-hell:   #FBF6EC;
  --tinte:       #2A241D;
  --tinte-weich: #4A4136;
  --tinte-matt:  #3A3226;
  --orange:      #D9541F;
  --orange-hell: #E8875B;
  --rot:         #B23A2E;
  --rot-dunkel:  #8C2C22;
  --linie:       rgba(42, 36, 29, 0.12);
  --linie-hell:  rgba(243, 234, 217, 0.18);
  --papier:      #ffffff;
  --radius:      20px;
  --breite:      1160px;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;
  --mono:  'Space Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--tinte);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--orange); color: var(--sand); }
a { color: var(--rot); }
a:hover { color: var(--rot-dunkel); }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.schmal { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 234, 217, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--linie);
}
.nav__inner {
  max-width: var(--breite); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-family: var(--mono); font-weight: 700; font-size: 20px; letter-spacing: .5px;
  display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--tinte);
}
.logo__punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.nav__links { display: flex; gap: 28px; font-size: 15px; flex-wrap: wrap; }
.nav__links a { text-decoration: none; color: var(--tinte); }

/* Buttons */
.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none;
  border-radius: 100px; font-family: var(--sans); font-size: 16px; font-weight: 700;
  padding: 14px 28px; transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primaer { background: var(--orange); color: #fff; }
.btn--dunkel  { background: var(--tinte); color: var(--sand); padding: 10px 20px; font-size: 14px; font-weight: 500; }
.btn--leer    { background: transparent; color: var(--tinte); border: 1px solid rgba(42,36,29,.25); font-weight: 500; }
.btn--voll    { width: 100%; padding: 16px; }
.btn:disabled { background: #5A5142; color: #C9BFA9; cursor: not-allowed; }

/* Hero */
.hero {
  max-width: var(--breite); margin: 0 auto; padding: 64px 24px 40px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px; align-items: center;
}
.kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: 2px;
  color: var(--rot); text-transform: uppercase; margin-bottom: 18px;
}
h1 { font-family: var(--serif); font-size: clamp(38px, 5.5vw, 68px); line-height: 1.05; margin: 0 0 24px; font-weight: 400; }
h1 em { color: var(--orange); font-style: italic; }
h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; font-weight: 400; }
h3 { font-size: 20px; margin: 0 0 10px; font-weight: 700; }
.lead { font-size: 18px; line-height: 1.6; color: var(--tinte-weich); max-width: 480px; margin: 0 0 32px; }

.bildrahmen { position: relative; }
.bildrahmen::before {
  content: ''; position: absolute; top: -18px; left: -18px; right: 18px; bottom: 18px;
  border: 2px solid var(--tinte); border-radius: 18px; z-index: 0;
}
.bildrahmen img {
  width: 100%; height: 420px; object-fit: cover; border-radius: 18px;
  position: relative; z-index: 1; display: block;
}
.bildrahmen--klein img { height: 360px; }

/* Band */
.band {
  background: var(--tinte); color: var(--sand); padding: 22px 24px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 1px; text-align: center;
}

/* Abschnitte */
.sektion { padding: 88px 0; }
.sektion--sand { background: var(--sand-tief); }
.sektion--dunkel { background: var(--tinte); }
.zentriert { text-align: center; }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; }
.karte {
  background: var(--papier); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid rgba(42,36,29,.08);
}
.karte__nr { font-family: var(--mono); font-size: 36px; color: var(--orange); font-weight: 700; margin-bottom: 16px; }
.karte p { font-size: 15px; line-height: 1.6; color: var(--tinte-weich); margin: 0; }

/* Preistabelle */
.preise { background: var(--papier); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(42,36,29,.08); }
.preise__kopf, .preise__zeile { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.preise__kopf {
  background: var(--tinte); color: var(--sand); font-family: var(--mono);
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
}
.preise__kopf div { padding: 16px 20px; }
.preise__zeile { border-bottom: 1px solid rgba(42,36,29,.08); }
.preise__zeile:last-child { border-bottom: none; }
.preise__zeile:nth-child(odd) { background: var(--sand-hell); }
.preise__zeile div { padding: 20px; }
.preise__zeile div:first-child { font-weight: 700; }

/* Analog */
.zweispaltig { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.option {
  display: flex; justify-content: space-between; align-items: baseline;
  background: var(--papier); border-radius: 14px; padding: 18px 22px;
  border: 1px solid rgba(42,36,29,.08); margin-bottom: 14px;
}
.option__preis { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--orange); }
.option__klein { font-size: 13px; color: var(--tinte-weich); }

/* Buchungsformular */
.buchung { background: var(--tinte-matt); border-radius: 16px; padding: 28px; }
.tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.tab {
  padding: 10px 18px; border-radius: 100px; font-size: 14px; font-family: var(--sans);
  cursor: pointer; border: 1px solid rgba(243,234,217,.25); background: transparent; color: var(--sand);
}
.tab--aktiv { border-color: var(--orange); background: var(--orange); color: #fff; font-weight: 700; }

.kal__kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.kal__monat { font-family: var(--mono); color: var(--sand); font-size: 15px; letter-spacing: 1px; }
.kal__pfeil {
  background: none; border: 1px solid rgba(243,234,217,.25); color: var(--sand);
  border-radius: 8px; width: 32px; height: 32px; cursor: pointer; font-size: 16px;
}
.kal__raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.kal__wt { text-align: center; font-family: var(--mono); font-size: 11px; color: #8A8069; }
.kal__tag {
  text-align: center; padding: 8px 0; border-radius: 8px; font-size: 13px;
  font-family: var(--mono); background: var(--tinte); color: var(--sand);
  border: 1px solid rgba(243,234,217,.15); cursor: pointer;
}
.kal__tag--knapp { border-color: var(--orange-hell); }
.kal__tag--weg { color: #5A5142; cursor: not-allowed; opacity: .5; }
.kal__tag--belegt { background: #4A2A22; color: #5A5142; cursor: not-allowed; opacity: .6; }
.kal__tag--gewaehlt { background: var(--orange); color: #fff; border-color: var(--orange); }

.feld { width: 100%; background: var(--tinte); border: 1px solid rgba(243,234,217,.15);
  border-radius: 10px; padding: 12px 14px; color: var(--sand); font-size: 14px;
  font-family: var(--sans); margin-bottom: 12px; }
.feld::placeholder { color: #8A8069; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feld-label { display: block; font-size: 13px; color: #C9BFA9; margin-bottom: 6px; }
.zaehler { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.zaehler button { background: var(--tinte); border: 1px solid rgba(243,234,217,.25);
  color: var(--sand); border-radius: 8px; width: 32px; height: 32px; cursor: pointer; font-size: 16px; }
.zaehler span { font-family: var(--mono); color: var(--sand); font-size: 16px; min-width: 24px; text-align: center; }
.zusammenfassung { color: #C9BFA9; font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
.hell { color: var(--sand); }

/* Meldungen */
.meldung { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-size: 14px; }
.meldung--fehler { background: #F6DCD6; border: 1px solid var(--rot); color: var(--rot-dunkel); }
.meldung--ok { background: #E4EEDF; border: 1px solid #5B7A4E; color: #33502A; }

/* Bestaetigung */
.bestaetigung { background: var(--tinte-matt); border-radius: 16px; padding: 32px; text-align: center; color: var(--sand); }
.bestaetigung__haken { font-size: 32px; margin-bottom: 12px; color: var(--orange-hell); }

/* Footer */
.fuss { padding: 40px 24px; }
.fuss__inner { max-width: var(--breite); margin: 0 auto; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 14px; color: var(--tinte-weich); }
.fuss__logo { font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--tinte); }

/* Admin */
.admin { background: var(--sand-hell); min-height: 100vh; }
/* Der Admin hat deutlich mehr Menüpunkte als die Website, sonst bricht die Leiste um */
.admin .nav__links { gap: 18px; font-size: 14px; }
.admin .logo { white-space: nowrap; }
.admin table { width: 100%; border-collapse: collapse; background: var(--papier); border-radius: 12px; overflow: hidden; }
.admin th { background: var(--tinte); color: var(--sand); font-family: var(--mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: 1px; padding: 12px; text-align: left; }
.admin td { padding: 12px; border-bottom: 1px solid var(--linie); font-size: 14px; vertical-align: top; }
.admin tr:last-child td { border-bottom: none; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 12px;
  font-family: var(--mono); background: var(--sand-tief); color: var(--tinte-weich); }
.tag--orange { background: var(--orange); color: #fff; }
.tag--gruen { background: #5B7A4E; color: #fff; }
.aktion { display: inline-block; margin: 0 8px 8px 0; padding: 8px 14px; border-radius: 8px;
  background: var(--tinte); color: var(--sand); text-decoration: none; font-size: 13px; border: none; cursor: pointer; }
.aktion--leer { background: transparent; color: var(--tinte); border: 1px solid var(--linie); }

@media (max-width: 880px) {
  .hero, .zweispaltig { grid-template-columns: 1fr; }
  .bildrahmen::before { display: none; }
  .bildrahmen img { height: 280px; }
  .sektion { padding: 56px 0; }
  .preise__kopf, .preise__zeile { grid-template-columns: 1fr 1fr; }
  .preise__kopf div:last-child, .preise__zeile div:last-child { display: none; }
  .nav__links { display: none; }
  .feld-paar { grid-template-columns: 1fr; }
}

/* Laboroptionen im Bestellformular */
.labor {
  border-top: 1px solid rgba(243, 234, 217, .15);
  margin: 22px 0 6px;
  padding-top: 20px;
}
.labor__titel { color: var(--sand); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.labor__lead { color: #C9BFA9; font-size: 13px; line-height: 1.5; margin: 0 0 18px; }
.labor__frage { margin-bottom: 20px; }
.labor__label { color: var(--sand); font-size: 14px; margin-bottom: 8px; }
.labor__fuss { color: #8A8069; font-size: 12px; margin: 8px 0 0; }

.labor__reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.labor__reihe--eng { grid-template-columns: repeat(3, 1fr); }

.wahl {
  display: flex; align-items: center; gap: 8px;
  background: var(--tinte); border: 1px solid rgba(243, 234, 217, .18);
  border-radius: 10px; padding: 11px 13px; cursor: pointer;
  color: #C9BFA9; font-size: 14px; line-height: 1.3;
  transition: border-color .12s ease, background .12s ease;
}
.wahl:hover { border-color: rgba(243, 234, 217, .4); }
.wahl input { accent-color: var(--orange); margin: 0; flex-shrink: 0; }
.wahl__text { flex: 1; }
.wahl__preis {
  font-family: var(--mono); font-size: 11px; color: #8A8069;
  white-space: nowrap; flex-shrink: 0;
}
.wahl:has(input:checked) { border-color: var(--orange); background: #3A3226; color: var(--sand); }
.wahl:has(input:checked) .wahl__preis { color: var(--orange-hell); }

.labor__skala { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; margin-bottom: 8px; }
.labor__skalaname { color: #8A8069; font-size: 13px; }

@media (max-width: 560px) {
  .labor__skala { grid-template-columns: 1fr; gap: 4px; }
  .labor__reihe--eng { grid-template-columns: repeat(3, 1fr); }
}

/* Erklaerkasten unter einem Preiskasten, etwa zur Entwicklung im Labor */
.hinweiskasten {
  background: rgba(42, 36, 29, .05);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--tinte-weich);
}
.hinweiskasten p { margin: 0 0 8px; }
.hinweiskasten p:last-child { margin-bottom: 0; }

/* Knapper: steht nach einem grossen Block wie dem Laborportrait und soll nicht
   nochmals so viel Gewicht aufnehmen. */
.hinweiskasten--klein {
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.55;
}

/* Lieferstatus eines Verkaufsartikels: an Lager, Nachschub oder Blocker */
.lieferstatus {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tinte-weich);
}
.lieferstatus__punkt {
  width: 10px; height: 10px; border-radius: 50%;
  background: #5B7A4E;
  flex: none;
  margin-top: 5px;
}
.lieferstatus--nachschub .lieferstatus__punkt { background: var(--orange); }
.lieferstatus--blocker .lieferstatus__punkt   { background: var(--tinte-weich); }
.lieferstatus strong { color: var(--tinte); }

/* Im Buchungsformular auf dunklem Grund */
.lieferstatus__warnung { color: var(--orange-hell); }

/* Portrait des Labors im Abschnitt Einwegkameras */
.labor-portrait {
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid var(--linie);
  border-radius: 16px;
  background: var(--sand-hell);
}
.labor-portrait__kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.labor-portrait h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 12px;
}
.labor-portrait p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--tinte-weich);
  margin: 0 0 10px;
}
.labor-portrait p:last-child { margin-bottom: 0; }

/* Rabattcode im Buchungsformular */
.rabattfeld {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.rabattfeld .feld {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--mono);
  margin-bottom: 8px;
}
.rabattfeld .feld::placeholder {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
}
.rabattfeld .tab { flex: none; }
.rabattfeld__meldung {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 1px;
  color: #C9BFA9;
}
/* Auf dem dunklen Formulargrund, deshalb aufgehellte Töne */
.rabattfeld__meldung--gut  { color: #A8C49A; }
.rabattfeld__meldung--nein { color: var(--orange-hell); }
