/* Website von calendrieraimprimer.fr – derselbe Stil wie die Kalender („Vert et corail“, vorlage/kalender.css):
   Figtree, Tannengrün, Korallenrot als Akzent, Lavendel für die Schulferien. Aufbau der Seiten nach dem Baustein
   aus ../kalenderprinten.nl (daher die niederländischen Klassennamen), Farben, Schrift und Kopf sind eigene. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/figtree.woff2") format("woff2");
}

:root {
  --inkt: #1b2a27;
  --gruen: #1e5f55;
  --gruen-dunkel: #17493f;
  --hell: #e2efeb;
  --hell2: #f3f8f6;
  --mittel: #556f6a;
  --linie: #cfdcd8;
  --korall: #f0705a;
  --korall-text: #a8331f;
  --lavendel: #ddd4f7;
  --rand: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--inkt);
  font-family: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--gruen); text-underline-offset: 2px; }
a:hover { color: var(--gruen-dunkel); }

.innen { max-width: 1120px; margin: 0 auto; padding: 0 var(--rand); }

/* === Kopf === */
.seitenkopf { border-bottom: 1px solid var(--linie); background: #ffffff; }
.seitenkopf .innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 12px; padding-bottom: 12px; }
.marke { color: var(--inkt); font-size: 21px; font-weight: 800; letter-spacing: -0.015em; text-decoration: none; }
.marke span { color: var(--korall-text); }
.marke em { color: var(--gruen); font-style: normal; font-weight: 500; }
.seitenkopf nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.seitenkopf nav a { color: var(--inkt); font-weight: 700; text-decoration: none; }
.seitenkopf nav a:hover, .seitenkopf nav a[aria-current] { color: var(--gruen); box-shadow: inset 0 -3px 0 var(--korall); }

.kruimel { margin: 14px 0 0 0; font-size: 14px; color: var(--mittel); }
.kruimel ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.kruimel li + li::before { content: "›"; margin-right: 4px; color: var(--mittel); }
.kruimel a { color: var(--mittel); }

/* === Überschriften und Text === */
h1 { margin: 18px 0 0 0; font-size: clamp(29px, 5vw, 44px); font-weight: 800; line-height: 1.16; letter-spacing: -0.02em; }
/* Die Jahreszahl steht leicht und grün im Titel, mit korallenrotem Strich darunter – wie auf den Kalenderblättern. */
h1 .jaar { font-weight: 400; color: var(--gruen); box-shadow: inset 0 -5px 0 var(--korall); white-space: nowrap; }
.streep { width: 100%; height: 1px; margin: 16px 0 18px 0; background: var(--linie); }
h2 { margin: 44px 0 10px 0; font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: var(--gruen); }
h3 { margin: 26px 0 6px 0; font-size: 20px; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 14px 0; }
.intro { max-width: 760px; font-size: 19px; }
/* Lesbare Zeilenlänge für Fließtext, Listen, Hinweise und Fragen */
main > p, main > .lijst, main > .let-op, .vragen { max-width: 780px; }
.tabel.smal { max-width: 640px; }
.tabel.breed-900 { max-width: 900px; }
td.naam { white-space: nowrap; }
/* Tabellen mit einer Spalte je Region: auf dem Handy ein Block je Zeile, die Region steht davor */
@media (max-width: 640px) {
  table.regios thead { display: none; }
  table.regios tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--linie); }
  table.regios td { display: block; padding: 2px 0; border: 0; }
  table.regios td.naam { font-weight: 700; }
  table.regios td[data-regio]::before { content: attr(data-regio) "\00a0: "; color: var(--mittel); font-weight: 700; }
}
.klein { font-size: 14px; color: var(--mittel); }
main { padding-bottom: 40px; }

/* === Kalenderkarten === */
/* Kartenraster: Hochformat eine Spalte, Querformat zwei; „breit“ füllt eine Reihe (Bild links, Text rechts). */
.ontwerpen { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row dense; gap: 22px; margin: 20px 0 30px 0; }
@media (min-width: 640px) {
  .ontwerpen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ontwerp.form-liggend, .ontwerp.form-breit { grid-column: span 2; }
}
@media (min-width: 980px) {
  .ontwerpen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ontwerp.form-breit { grid-column: span 3; flex-direction: row; }
  .ontwerp.form-breit figure { flex: 2; border-bottom: 0; border-right: 1px solid var(--linie); }
  .ontwerp.form-breit .tekst { flex: 1; justify-content: center; padding: 22px; }
  .ontwerp.form-breit .knoppen { margin-top: 4px; }
}
.ontwerp { display: flex; flex-direction: column; border: 1px solid var(--linie); border-radius: 14px; background: #ffffff; overflow: hidden; }
.ontwerp figure { margin: 0; padding: 14px; background: var(--hell2); border-bottom: 1px solid var(--linie); }
.ontwerp figure a { display: block; }
.ontwerp img { display: block; width: 100%; border: 1px solid var(--linie); border-radius: 4px; background: #ffffff; box-shadow: 0 2px 6px rgba(27, 42, 39, 0.08); }
.ontwerp .tekst { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px 16px; }
.ontwerp h3 { margin: 0 0 4px 0; font-size: 19px; }
.ontwerp figcaption { margin-top: 10px; font-size: 14px; color: var(--mittel); line-height: 1.4; }
.ontwerp p { font-size: 15.5px; }
.knoppen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.knop { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 10px 15px; border-radius: 9px; background: var(--gruen); color: #ffffff; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.knop:hover { background: var(--gruen-dunkel); color: #ffffff; }
.knop.licht { background: var(--hell); color: var(--gruen); }
.knop.licht:hover { background: #d2e5df; color: var(--gruen-dunkel); }
.knop small { font-size: 0.9em; font-weight: 600; opacity: 0.9; }

.breed { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; margin: 18px 0; }
.breed figure { margin: 0; padding: 14px; border: 1px solid var(--linie); border-radius: 14px; background: var(--hell2); }
.breed img { display: block; width: 100%; border: 1px solid var(--linie); border-radius: 4px; background: #ffffff; }

/* === Kacheln mit Links (Monate, Regionen) === */
.tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; padding: 0; list-style: none; }
.tegels a { display: block; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 10px; background: var(--hell2); color: var(--inkt); font-weight: 700; text-decoration: none; }
.tegels a:hover { border-color: var(--gruen); color: var(--gruen); }
.tegels small { display: block; font-weight: 600; color: var(--mittel); }
.tegels.met-beeld { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tegels.drie { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .tegels.drie { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tegels.met-beeld img { display: block; margin-bottom: 8px; border: 1px solid var(--linie); border-radius: 3px; background: #ffffff; }

/* === Kalenderdateien zum Abonnieren === */
.agenda { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 780px; margin: 14px 0 10px 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .agenda { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.agenda li { padding: 12px 14px; border: 1px solid var(--linie); border-radius: 10px; background: var(--hell2); }
.agenda strong { display: block; }
.agenda span { display: block; margin-top: 2px; }
.agenda a { display: inline-block; padding: 9px 0; font-weight: 700; }
main > .klein { max-width: 780px; }

/* === Einbettcode für andere Websites === */
.insluiten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 980px; margin: 10px 0 0 0; }
@media (min-width: 760px) { .insluiten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.insluiten > div { padding: 14px 16px 16px 16px; border: 1px solid var(--linie); border-radius: 10px; background: var(--hell2); }
.insluiten h3 { margin: 0 0 2px 0; font-size: 18px; }
.insluiten .klein { margin-bottom: 8px; }
.insluiten textarea { display: block; width: 100%; margin: 0 0 10px 0; padding: 10px; border: 1px solid var(--linie); border-radius: 8px; background: #ffffff; color: var(--inkt); font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }
.insluiten button { border: 0; cursor: pointer; font-family: inherit; }

/* === Tabellen === */
.tabel { width: 100%; overflow-x: auto; margin: 12px 0 8px 0; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 9px 10px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
thead th { background: var(--hell); color: var(--gruen); font-weight: 700; border-bottom: 0; }
thead th:first-child { border-top-left-radius: 8px; }
thead th:last-child { border-top-right-radius: 8px; }
td.getal { font-variant-numeric: tabular-nums; }
.stip { display: inline-block; width: 11px; height: 11px; margin-right: 8px; border-radius: 3px; background: var(--korall); vertical-align: 0; }
.vak { display: inline-block; width: 14px; height: 10px; margin-right: 8px; border-radius: 2px; background: var(--lavendel); vertical-align: 0; }

/* Breite Tabellen (Seite „Jours fériés“, Zonenseiten): auf dem Handy ein Block je Zeile, die Spaltenüberschrift steht davor */
@media (max-width: 640px) {
  table.vrij thead { display: none; }
  table.vrij tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--linie); }
  table.vrij td { display: block; padding: 2px 0; border: 0; white-space: normal; }
  table.vrij td.naam { font-weight: 700; }
  table.vrij td[data-kop]::before { content: attr(data-kop) "\00a0: "; color: var(--mittel); font-weight: 700; }
}

/* === Hinweise, Fragen === */
.let-op { margin: 14px 0; padding: 12px 16px; border-left: 5px solid var(--korall); border-radius: 6px; background: #fdf1ee; font-size: 15.5px; }
.vragen details { border-bottom: 1px solid var(--linie); }
.vragen summary { padding: 12px 0; font-weight: 700; cursor: pointer; }
.vragen details p { margin: 0 0 14px 0; }
.lijst { padding-left: 20px; }
.lijst li { margin-bottom: 6px; }

.bladeren { display: flex; justify-content: space-between; gap: 12px; margin: 34px 0 0 0; }
.bladeren a { font-weight: 700; }

/* === Fuß === */
.seitenfuss { margin-top: 30px; padding: 28px 0 36px 0; border-top: 1px solid var(--linie); background: var(--hell2); font-size: 15px; color: var(--mittel); }
.seitenfuss .spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.seitenfuss h2 { margin: 0 0 8px 0; font-size: 16px; color: var(--inkt); }
.seitenfuss ul { margin: 0; padding: 0; list-style: none; }
.seitenfuss li { margin-bottom: 4px; }
.seitenfuss a { color: var(--mittel); }
.seitenfuss .regel { margin-top: 18px; font-size: 13.5px; }

/* === Rechtstexte === */
.rechtstekst { max-width: 780px; }
.rechtstekst h2 { margin-top: 34px; font-size: 22px; }
.rechtstekst h3 { margin-top: 22px; font-size: 18px; }
.rechtstekst h4 { margin: 16px 0 4px 0; font-size: 16px; }
.rechtstekst p, .rechtstekst li { font-size: 16px; }
.origineel { max-width: 780px; margin-top: 36px; border-top: 1px solid var(--linie); }
.origineel summary { padding: 14px 0; font-weight: 700; color: var(--gruen); cursor: pointer; }
.platzhalter { padding: 8px 12px; border: 2px dashed var(--korall); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .intro { font-size: 17px; }
  .breed { grid-template-columns: 1fr; }
  h2 { font-size: 23px; }
  .ontwerpen { grid-template-columns: 1fr; }
  table { font-size: 14px; }
  th, td { padding: 7px 6px; }
}

@media print {
  .seitenkopf nav, .seitenfuss, .knoppen, .kruimel { display: none; }
}
