/*
Theme Name: Weise Mir Den Weg
Theme URI: https://weisemirdenweg.com
Author: Weise Mir Den Weg e.V.
Description: Komplette Website von Weise Mir Den Weg e.V. (Dortmund). Beim Aktivieren werden alle 16 Seiten, die Startseite und das Logo automatisch angelegt. Bearbeitung mit dem WordPress-Editor.
Version: 2.0.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weise-mir-den-weg
Tags: block-theme, full-site-editing, one-column
*/

/* ==========================================================================
   Jetons
   ========================================================================== */
:root {
  --brume: #FFFFFF;
  --sauge: #F2F5FF;
  --mousse: #DDE4FF;
  --foret: #0B1440;
  --sapin: #0021FF;
  --texte: #0B1440;
  --doux: #4A5578;
  --bleu: #0021FF;
  --rouge: #FF0027;
  --sans: "Inter Tight", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --pfeil-weiss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5'/%3E%3C/svg%3E");
  --pfeil-blau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%230021FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--brume);
  color: var(--texte);
  font: 400 17px/1.55 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
figure.wp-block-image, figure.wp-block-video { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.03em; line-height: 1.04; hyphens: none; text-wrap: balance; }
h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  font-size: 1.06em;
  color: var(--bleu);
}
h2 { font-size: clamp(36px, 4.3vw, 62px); }
h3 { font-size: clamp(26px, 2.5vw, 36px); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }

/* Espacement automatique de Gutenberg : coupé dans theme.json (blockGap 0px).
   Filet de sécurité à spécificité nulle uniquement (voir blocs-gutenberg.md). */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 4.2vw, 60px); }
.seite-einfach { padding-top: 180px; padding-bottom: 80px; }
.seite-einfach h1 { font-size: clamp(38px, 5.6vw, 84px); margin-bottom: 18px; }
.seite-einfach .wp-block-buttons { margin-top: 24px; }

/* Images qui remplissent leur conteneur : la classe de composant est sur la figure,
   le cadrage se fait sur l'img (spécificité > .wp-block-image img du bloc). */
figure.wp-block-image > img { width: 100%; }

/* ==========================================================================
   Boutons (core/buttons + core/button) — la flèche ronde est un pseudo-élément
   ========================================================================== */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button.btn { display: inline-block; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.wp-block-button.btn > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 22px;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none;
  transition: transform .2s ease;
}
.wp-block-button.btn > .wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.btn > .wp-block-button__link::after {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rond-fond, var(--bleu)) var(--rond-pfeil, var(--pfeil-weiss)) center / 14px no-repeat;
}
.wp-block-button.btn-clair > .wp-block-button__link { background: #fff; color: var(--texte); box-shadow: 0 8px 24px rgba(11, 20, 64, .12); --rond-fond: var(--bleu); --rond-pfeil: var(--pfeil-weiss); }
.wp-block-button.btn-sapin > .wp-block-button__link { background: var(--sapin); color: #fff; --rond-fond: #fff; --rond-pfeil: var(--pfeil-blau); }
.wp-block-button.btn-petit > .wp-block-button__link { font-size: 13px; padding: 4px 4px 4px 16px; gap: 10px; }
.wp-block-button.btn-petit > .wp-block-button__link::after { width: 28px; height: 28px; background-size: 11px; }
.wp-block-button.kopieren > .wp-block-button__link { cursor: pointer; }

/* ==========================================================================
   Icônes : masques CSS (les SVG de la maquette ne sont pas des blocs)
   ========================================================================== */
.sym::before {
  content: "";
  display: block;
  flex: none;
  width: 26px;
  height: 26px;
  background: currentColor;
  -webkit-mask: var(--sym) center / contain no-repeat;
  mask: var(--sym) center / contain no-repeat;
}
.sym-repas  { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18a9 9 0 0 1-18 0ZM9 8c0-2 2-2 2-4M14 8c0-2 2-2 2-4'/%3E%3C/svg%3E"); }
.sym-goutte { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s7 7.2 7 12a7 7 0 0 1-14 0c0-4.8 7-12 7-12Z'/%3E%3C/svg%3E"); }
.sym-livre  { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6c-2-1.5-5-2-9-2v15c4 0 7 .5 9 2 2-1.5 5-2 9-2V4c-4 0-7 .5-9 2ZM12 6v15'/%3E%3C/svg%3E"); }
.sym-outil  { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6.5a4 4 0 0 1 5.3-3.8L17.5 5.5l1 2 2 1 2.8-2.8A4 4 0 0 1 18 11a4 4 0 0 1-1.5-.3L7 20.2a2 2 0 0 1-3-2.7l9.3-9.6A4 4 0 0 1 15 6.5Z'/%3E%3C/svg%3E"); }
.sym-coeur  { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20S3 14.5 3 8.5A4.5 4.5 0 0 1 12 7a4.5 4.5 0 0 1 9 1.5C21 14.5 12 20 12 20Z'/%3E%3C/svg%3E"); }
.sym-blitz  { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3 5 14h6l-1 7 8-11h-6l1-7Z'/%3E%3C/svg%3E"); }
.sym-sonne  { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6 7 7M17 17l1.4 1.4M18.4 5.6 17 7M7 17l-1.4 1.4'/%3E%3C/svg%3E"); }
.sym-fleche { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Verre dépoli
   ========================================================================== */
.verre {
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 18px;
  color: #fff;
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
}
.verre em { color: #fff; }

/* ==========================================================================
   En-tête (parts/header.html) — core/site-logo, core/navigation, core/buttons
   ========================================================================== */
.entete {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px clamp(20px, 4.2vw, 60px);
}
.admin-bar .entete { top: 32px; }
/* Colonnes explicites : la grille reste en place même si aucun logo n'est encore défini. */
.entete > .wp-block-site-logo { grid-column: 1; }
.entete > .wp-block-navigation { grid-column: 2; }
.entete > .wp-block-buttons { grid-column: 3; }
.wp-block-site-logo.logo img { height: 84px; width: auto; }
.wp-block-site-logo.logo a { display: inline-block; }
.entete > .wp-block-buttons { justify-self: end; }
.entete .wp-block-navigation.nav { font-size: 15px; font-weight: 500; }
.entete .wp-block-navigation.nav .wp-block-navigation__container { gap: clamp(16px, 2.5vw, 38px); }
.entete .wp-block-navigation.nav .wp-block-navigation-item__content { padding-block: 10px; }
.entete .wp-block-navigation.nav .wp-block-navigation-item__content:hover { opacity: .6; }
.entete .wp-block-navigation.nav .wp-block-navigation__submenu-icon { margin-left: 6px; }
.entete .wp-block-navigation.nav .wp-block-navigation__submenu-container {
  left: -14px;
  min-width: 240px;
  max-width: 320px;
  padding: 8px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: var(--texte);
  box-shadow: 0 18px 40px rgba(11, 20, 64, .16);
}
.entete .wp-block-navigation.nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  white-space: normal;
}
.entete .wp-block-navigation.nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--sauge); opacity: 1; }
.entete .wp-block-navigation.nav .wp-block-navigation__responsive-container-open {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--texte);
}
/* Panneau mobile de core/navigation : blanc sur blanc sans ceci (CSS du bloc imprimé après le thème). */
.entete .wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: #fff !important;
  color: var(--texte) !important;
  padding: 24px;
}
.entete .wp-block-navigation.nav .is-menu-open .wp-block-navigation__container { gap: 6px; }
.entete .wp-block-navigation.nav .is-menu-open .wp-block-navigation__responsive-container-content,
.entete .wp-block-navigation.nav .is-menu-open .wp-block-navigation__container,
.entete .wp-block-navigation.nav .is-menu-open .wp-block-navigation-item,
.entete .wp-block-navigation.nav .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; text-align: left; }
.entete .wp-block-navigation.nav .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; padding: 0 0 8px 8px; min-width: 0; }

/* ==========================================================================
   Héros
   ========================================================================== */
.heros { position: relative; height: clamp(720px, 66vw, 1040px); overflow: hidden; text-align: center; }
figure.heros-fond { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - 4px); }
figure.heros-fond > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.heros::after {
  content: "";
  position: absolute;
  inset: 0 0 -1px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .74) 40%, rgba(255, 255, 255, .18) 58%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, 0) 76%, var(--brume) 97%);
}
.heros-texte { position: relative; z-index: 2; padding-top: clamp(140px, 11.5vw, 176px); padding-inline: 20px; }
h1 { font-size: clamp(38px, 6.5vw, 100px); line-height: 1; }
h1 em { white-space: nowrap; }
.heros-texte > p { max-width: 620px; margin: 24px auto 28px; font-size: clamp(16px, 1.25vw, 18px); }
.heros-texte .wp-block-buttons { justify-content: center; }

/* ==========================================================================
   Priorités
   ========================================================================== */
.priorites { text-align: center; padding: 8px 0 clamp(70px, 8vw, 120px); }
.priorites > p { color: var(--doux); font-size: 16px; }
.priorites .liste-sym { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px clamp(32px, 5vw, 76px); margin-top: 20px; }
.liste-sym > p { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; color: var(--doux); letter-spacing: -.01em; }
.liste-sym > .sym::before { background: var(--rouge); }

/* ==========================================================================
   Carte « remise » et verre
   ========================================================================== */
.remise { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.remise-carte {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  display: grid;
  place-items: center;
  background: var(--foret);
}
.remise-carte > figure.wp-block-image { position: absolute; inset: 0; }
.remise-carte > figure.wp-block-image > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); }
.remise-verre { position: relative; width: 74%; padding: 30px 24px 26px; text-align: center; }
/* Le layout « flow » de WordPress annule la marge haute du premier enfant (spécificité 0,1,0) :
   les composants placés en premier enfant portent donc un sélecteur plus spécifique. Mesuré en porte 4. */
.remise-verre > .pile { position: relative; height: 176px; width: 300px; max-width: 100%; margin: -74px auto 22px; }
.pile > figure.wp-block-image { position: absolute; width: 176px; height: 208px; }
.pile > figure.wp-block-image > img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(8, 14, 48, .4); border: 3px solid rgba(255, 255, 255, .9); }
.pile > figure.wp-block-image:first-child { left: 8px; top: 0; transform: rotate(-6deg); }
.pile > figure.wp-block-image:last-child { right: 8px; top: 8px; transform: rotate(5deg); }
.remise-verre .t-strong { display: block; font-size: clamp(26px, 3vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin-top: 62px; }
.remise-verre .t-span { font-size: clamp(18px, 1.7vw, 24px); font-weight: 300; }
.remise-texte > p { margin-top: 18px; color: var(--doux); max-width: 56ch; }
.remise-texte > .wp-block-buttons { margin-top: 28px; }
.remise-texte > p.surtitre { display: block; margin: 0 0 8px; color: var(--rouge); font-size: 14px; font-weight: 500; }
.remise-texte > p.zurueck { margin-top: 28px; color: var(--texte); }

/* ==========================================================================
   Introduction, paysage, services
   ========================================================================== */
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: end; padding-top: clamp(90px, 10vw, 150px); }
.intro > p { color: var(--doux); padding-bottom: 8px; }
.paysage { position: relative; margin-top: clamp(36px, 4vw, 56px); height: clamp(420px, 40vw, 580px); border-radius: 24px; overflow: hidden; }
.paysage > figure.wp-block-image { width: 100%; height: 100%; }
.paysage > figure.wp-block-image > img { width: 100%; height: 100%; object-fit: cover; }
.paysage-note { position: absolute; right: clamp(14px, 3vw, 44px); bottom: clamp(14px, 3vw, 44px); width: min(440px, calc(100% - 28px)); padding: 12px; display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.paysage-note figure.wp-block-image > img { width: 150px; height: 104px; object-fit: cover; border-radius: 12px; }
.paysage-note .t-b { display: block; font-weight: 500; font-size: 19px; letter-spacing: -.01em; line-height: 1.2; }
.paysage-note .t-small { display: block; font-size: 13.5px; line-height: 1.35; margin-top: 6px; opacity: .92; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(16px, 2vw, 28px); }
.service { background: var(--sauge); border-radius: 24px; padding: clamp(24px, 2.6vw, 38px) clamp(24px, 2.6vw, 38px) 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, .8); }
.service > p { color: var(--doux); font-size: 16px; margin: 14px 0 20px; max-width: 48ch; }
.service > .wp-block-buttons { margin-bottom: 26px; }
.service-photo { position: relative; margin: auto calc(clamp(24px, 2.6vw, 38px) * -1) 0; height: clamp(280px, 25vw, 360px); }
.service-photo > figure.wp-block-image { width: 100%; height: 100%; }
.service-photo > figure.wp-block-image > img { width: 100%; height: 100%; object-fit: cover; }
.tuiles { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tuile { padding: 16px; min-height: 124px; display: flex; flex-direction: column; justify-content: space-between; }
.tuile.sym::before { width: 24px; height: 24px; }
.tuile .t-b { font-weight: 500; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }

/* ==========================================================================
   Beratung, Telefonseelsorge, Seminare
   ========================================================================== */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 4vw, 56px); }
.telefon { position: relative; grid-row: span 2; display: flex; align-items: flex-end; min-height: 660px; padding: clamp(14px, 2vw, 28px); border-radius: 24px; overflow: hidden; }
.telefon > figure.wp-block-image { position: absolute; inset: 0; }
.telefon > figure.wp-block-image > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); }
.telefon-verre { position: relative; width: 100%; padding: clamp(20px, 2.4vw, 34px); }
.telefon-verre > p.marque { font-size: 14px; font-weight: 500; }
.telefon-verre h3 { font-size: clamp(32px, 3.4vw, 50px); margin: 8px 0 14px; }
.telefon-verre > p { font-size: 16px; line-height: 1.45; }
.telefon-verre > .wp-block-buttons { margin-top: 20px; }
.puces { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.puces li { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: #fff; color: var(--texte); }
.telefon-verre .puces { margin-top: 18px; }
.telefon-verre .puces li { background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .36); color: #fff; }
.carte-texte { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 2.6vw, 38px); background: var(--sauge); border: 1px solid rgba(255, 255, 255, .8); border-radius: 24px; }
.carte-texte > p { color: var(--doux); font-size: 16px; margin: 14px 0 18px; max-width: 56ch; }
.carte-texte > .wp-block-buttons { margin-top: auto; }
.carte-texte .puces { margin-bottom: 24px; }
p.surtitre, .carte-texte > p.surtitre { color: var(--rouge); font-size: 14px; font-weight: 500; margin: 0 0 8px; }

/* ==========================================================================
   Projets
   ========================================================================== */
.projekte-feld { position: relative; margin-top: clamp(36px, 4vw, 56px); padding: clamp(150px, 18vw, 260px) clamp(14px, 2.4vw, 36px) clamp(14px, 2.4vw, 36px); border-radius: 24px; overflow: hidden; }
.projekte-feld > figure.wp-block-image { position: absolute; inset: 0; }
.projekte-feld > figure.wp-block-image > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.74); }
.projekte-grille { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.projekt { position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 10px; min-height: 226px; padding: clamp(18px, 1.8vw, 26px); background: rgba(8, 20, 70, .42); border-color: rgba(255, 255, 255, .3); transition: transform .2s ease; }
.projekt:nth-child(n+4) { grid-column: span 3; min-height: 180px; }
.projekt:hover { transform: translateY(-3px); }
.projekt.sym::before { width: 26px; height: 26px; }
.projekt h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.12; letter-spacing: -.02em; }
.projekt h3 a { color: #fff; }
.projekt h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.projekt > p:last-child { font-size: 15px; line-height: 1.4; margin-top: auto; }
/* Badge « In Planung » : hors flux, en haut à droite de la tuile (dans la maquette il était dans le titre). */
.projekt > p.etat { position: absolute; top: clamp(18px, 1.8vw, 26px); right: clamp(18px, 1.8vw, 26px); margin: 0; }
.etat { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .24); border: 1px solid rgba(255, 255, 255, .36); font-size: 12.5px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.heros.heros-klein { height: auto; min-height: clamp(420px, 34vw, 560px); padding-bottom: 110px; }
.heros.heros-klein::after { background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .86) 60%, rgba(255, 255, 255, .4) 78%, var(--brume) 98%); }
.heros-klein h1 { font-size: clamp(38px, 5.6vw, 84px); }
.heros-klein h1 em { white-space: normal; }
.abschnitt { padding-top: clamp(50px, 6vw, 90px); }
.abschnitt-erste { padding-top: clamp(4px, 1.4vw, 20px); }
.intro.kompakt { padding-top: 0; }
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 3.6vw, 52px); }
.abschnitt > .karten:first-child { margin-top: 0; }
.karten-2 { grid-template-columns: repeat(2, 1fr); }
.karte.sym::before { width: 28px; height: 28px; margin-bottom: 16px; background: var(--rouge); }
.karte h3 { font-size: clamp(23px, 2vw, 29px); line-height: 1.12; letter-spacing: -.02em; }
.karte > p { margin-bottom: 8px; }
.karte > .wp-block-buttons { margin-top: 14px; }
.karte .puces { margin: 10px 0 0; }
.karte-sapin { background: var(--mousse); }
.karte > p.nummer, p.nummer { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 0 16px; border-radius: 50%; background: var(--rouge); color: #fff; font-weight: 600; font-size: 15px; }
.puces-abstand { margin-top: 20px; }
.remise-texte > p.zitat { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.25; color: var(--texte); }
.remise-texte > p.zitat-quelle { margin-top: 4px; font-size: 13px; color: var(--doux); }
.remise > .telefon { min-height: 540px; }
.seminar-verre { padding: 32px 24px; }
.seminar-verre .t-strong { margin: 0 0 18px; font-size: clamp(26px, 2.8vw, 40px); }
.seminar-verre .puces { justify-content: center; }
.seminar-verre .puces li { background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .36); color: #fff; }
.remise-verre > .bild-einzeln { margin: -56px auto 0; width: min(290px, 100%); }
.bild-einzeln > figure.wp-block-image > img { width: 100%; border-radius: 16px; border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 18px 40px rgba(8, 14, 48, .4); }
.remise-verre .bild-einzeln + .t-strong { margin-top: 20px; }
.projekte-feld-seite { margin-top: 0; }
p.zurueck { display: inline-block; margin-top: 28px; font-size: 15px; font-weight: 500; }
p.zurueck a:hover { opacity: .6; }
.ausblick { margin-top: 28px; color: var(--doux); max-width: 70ch; }
.team-bereich { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
.team-bereich .remise-texte > p { max-width: 44ch; }
.team-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.team-karte { padding: 12px 12px 20px; background: var(--sauge); border: 1px solid rgba(255, 255, 255, .8); border-radius: 24px; }
.team-karte > figure.wp-block-image > img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 20%; border-radius: 16px; }
.team-karte h3 { margin: 16px 8px 2px; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.team-karte > p { margin: 0 8px; color: var(--doux); font-size: 15px; }

/* Contact : groupe .formular + formulaire Contact Form 7 */
.kontakt-raster { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.formular h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 20px; }
.formular .wpcf7, .formular .wpcf7-form { width: 100%; }
.formular .wpcf7-form { display: grid; gap: 14px; }
.formular .feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.formular label { display: grid; gap: 6px; width: 100%; font-size: 14px; font-weight: 500; color: var(--texte); }
.formular .wpcf7-form-control-wrap { display: block; }
.formular label.einwilligung { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13.5px; line-height: 1.45; color: var(--doux); }
.formular label.einwilligung a { text-decoration: underline; text-underline-offset: 3px; }
.formular label.einwilligung .wpcf7-form-control-wrap { flex: none; }
.formular label.einwilligung input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bleu); }
.formular label.einwilligung .wpcf7-list-item { margin: 0; }
.formular input:not([type="submit"]):not([type="checkbox"]), .formular select, .formular textarea { display: block; width: 100%; padding: 12px 14px; border: 1px solid var(--mousse); border-radius: 14px; background: #fff; color: var(--texte); font: 400 16px/1.4 var(--sans); }
.formular textarea { min-height: 150px; resize: vertical; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 2px solid var(--sapin); outline-offset: 1px; }
.formular .wpcf7-submit {
  justify-self: start;
  margin-top: 6px;
  padding: 6px 52px 6px 22px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--sapin) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='18' fill='%23fff'/%3E%3Cpath d='M14 22 22 14M15.5 14H22v6.5' fill='none' stroke='%230021FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 6px center / 36px 36px no-repeat;
  color: #fff;
  font: 500 15px/1.55 var(--sans);
}
.formular .wpcf7-spinner { display: none; }
.formular .wpcf7-not-valid-tip { margin-top: 4px; color: var(--rouge); font-size: 13px; }
.formular .wpcf7-response-output { margin: 4px 0 0 !important; padding: 12px 14px !important; border-radius: 14px; border: 1px solid var(--mousse) !important; font-size: 14px; }
.kontaktdaten { list-style: none; padding: 0; margin: 4px 0 0; font-size: 17px; line-height: 1.9; }

/* Pages juridiques */
.rechtlich { max-width: 860px; }
.rechtlich h2 { font-size: 26px; margin: 34px 0 8px; letter-spacing: -.02em; }
.rechtlich > p { color: var(--doux); }
.rechtlich a { text-decoration: underline; text-underline-offset: 3px; }
.rechtlich strong { padding: 2px 8px; border-radius: 8px; background: var(--mousse); color: var(--texte); font-weight: 500; }
.rechtlich > p.entwurf { padding: 14px 18px; border-radius: 14px; background: var(--sauge); border: 1px dashed var(--doux); color: var(--texte); font-weight: 500; }

/* ==========================================================================
   Étapes
   ========================================================================== */
.etapes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; padding-top: clamp(90px, 10vw, 150px); }
.etapes-texte > p { color: var(--doux); margin-top: 18px; max-width: 54ch; }
.etapes-texte > .wp-block-buttons { margin-top: 28px; }
.etapes-carte { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(20px, 3vw, 44px); min-height: 680px; display: grid; place-items: center; }
.etapes-carte > figure.wp-block-image { position: absolute; inset: 0; }
.etapes-carte > figure.wp-block-image > img { width: 100%; height: 100%; object-fit: cover; }
.ecran { position: relative; width: min(100%, 392px); padding: 14px; border-radius: 30px; }
figure.ecran-photo > img { width: 100%; height: 290px; object-fit: cover; object-position: 50% 30%; border-radius: 20px; }
.ecran h3 { font-size: 26px; margin: 18px 6px 14px; }
.etape { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; margin-top: 8px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); }
.etape .t-i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--sapin); font-style: normal; font-weight: 600; font-size: 14px; }
.etape .t-b { display: block; font-weight: 500; font-size: 16px; line-height: 1.2; }
.etape .t-small { display: block; font-size: 13px; line-height: 1.3; opacity: .92; }

/* ==========================================================================
   Appel
   ========================================================================== */
.wp-block-group.appel { position: relative; margin-top: clamp(90px, 10vw, 150px); background: var(--sauge); border-radius: 28px; overflow: hidden; text-align: center; padding-top: clamp(50px, 6vw, 86px); border: 1px solid rgba(255, 255, 255, .8); }
.appel > p { max-width: 560px; margin: 14px auto 24px; color: var(--doux); padding-inline: 20px; }
.appel > h2 { padding-inline: 20px; }
.appel > .wp-block-buttons { position: relative; z-index: 2; justify-content: center; }
.appel-photo { position: relative; height: clamp(220px, 22vw, 320px); margin-top: -60px; }
.appel-photo > figure.wp-block-image { height: 100%; }
.appel-photo > figure.wp-block-image > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.appel-photo::after { content: ""; position: absolute; inset: -2px 0 0; pointer-events: none; background: linear-gradient(180deg, var(--sauge) 0%, var(--sauge) 6%, rgba(242, 245, 255, 0) 58%); }

/* ==========================================================================
   Soutien et compte bancaire
   ========================================================================== */
.unterstuetzen { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(26px, 4vw, 56px); background: var(--sauge); border: 1px solid rgba(255, 255, 255, .8); border-radius: 28px; }
.unterstuetzen-text > p { color: var(--doux); margin-top: 14px; max-width: 56ch; }
.unterstuetzen-text > p.hinweis { font-size: 14px; margin-top: 22px; }
.konto { padding: clamp(22px, 2.6vw, 34px); border-radius: 22px; background: var(--bleu); color: #fff; box-shadow: 0 24px 50px rgba(0, 33, 255, .22); }
.konto > p.marque { font-size: 14px; font-weight: 500; opacity: .85; }
.konto .t-dl { display: grid; gap: 2px; margin: 10px 0 22px; }
.konto .t-dt { margin-top: 12px; font-size: 12.5px; opacity: .75; }
.konto .t-dd { margin: 0; font-size: 18px; font-weight: 500; }
.konto .t-dd.iban { font-size: clamp(19px, 1.8vw, 24px); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ==========================================================================
   Vidéos (core/video)
   ========================================================================== */
figure.video-quadrat { display: block; width: min(250px, 100%); aspect-ratio: 1; margin: -36px auto 18px; overflow: hidden; border: 3px solid rgba(255, 255, 255, .9); border-radius: 16px; background: #000; box-shadow: 0 18px 40px rgba(8, 14, 48, .4); }
figure.video-quadrat > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.remise-verre figure.video-quadrat + .t-strong { margin-top: 0; }
.video-breit { margin-bottom: clamp(16px, 2vw, 28px); overflow: hidden; border-radius: 24px; background: #000; }
.video-breit figure.wp-block-video > video { display: block; width: 100%; aspect-ratio: 16 / 9; }

/* ==========================================================================
   Pied de page (parts/footer.html)
   ========================================================================== */
.pied { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.5fr; gap: 32px; padding-top: clamp(80px, 8vw, 120px); }
.pied h2 { font-size: clamp(32px, 3.5vw, 50px); }
.pied p { color: var(--doux); margin-top: 14px; max-width: 42ch; font-size: 16px; }
.pied p.verset { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--bleu); line-height: 1.25; }
.pied p.verset-quelle { margin-top: 2px; font-size: 13px; color: var(--doux); }
.pied h4 { margin: 8px 0 14px; font-size: 15px; font-weight: 600; }
.pied > .wp-block-group > h4:first-child { margin-top: 8px; }
.pied h4.pied-konto { margin-top: 22px; }
.pied ul { list-style: none; padding: 0; margin: 0; font-size: 15px; color: var(--doux); line-height: 2; }
.pied a:hover { color: var(--texte); }
.geant { position: relative; height: 42vw; min-height: 230px; margin-top: clamp(30px, 4vw, 60px); overflow: hidden; }
.geant > figure.wp-block-image { position: absolute; top: 4px; left: 0; width: 100%; height: calc(100% - 4px); }
.geant > figure.wp-block-image > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.geant::before { content: ""; position: absolute; z-index: 1; inset: -2px 0 0; pointer-events: none; background: linear-gradient(180deg, var(--brume) 0%, var(--brume) 5%, rgba(255, 255, 255, 0) 42%); }
.geant > .wp-block-group { position: absolute; z-index: 2; left: 0; right: 0; bottom: .8vw; text-align: center; color: #fff; font-weight: 600; font-size: 20vw; line-height: .84; letter-spacing: -.05em; white-space: nowrap; }
.geant .t-span { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 8.4vw; letter-spacing: -.01em; line-height: 1; margin-bottom: .6vw; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .remise, .intro, .etapes, .services { grid-template-columns: 1fr; }
  .pied { grid-template-columns: 1fr 1fr; }
  .pied > .wp-block-group:first-child { grid-column: 1 / -1; }
  .etapes-carte { min-height: 0; }
  .bento, .karten, .karten-2, .team-bereich, .kontakt-raster, .unterstuetzen { grid-template-columns: 1fr; }
  .remise > .telefon { min-height: 460px; }
  .telefon { grid-row: auto; min-height: 600px; }
  .projekt, .projekt:nth-child(n+4) { grid-column: span 3; min-height: 0; }
}
@media (max-width: 782px) {
  .admin-bar .entete { top: 46px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .entete { grid-template-columns: 1fr auto; padding-block: 10px; }
  .wp-block-site-logo.logo img { height: 70px; }
  .entete > .wp-block-buttons { display: none; }
  /* core/navigation passe en menu mobile à 600 px ; la maquette le fait à 760 px. */
  .entete .wp-block-navigation.nav .wp-block-navigation__responsive-container-open { display: flex !important; }
  .entete .wp-block-navigation.nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .heros-texte { padding-top: 130px; }
  .heros::after { background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .78) 62%, rgba(255, 255, 255, .2) 76%, rgba(255, 255, 255, 0) 82%, var(--brume) 98%); }
  .remise-verre { width: 86%; padding: 16px 12px; }
  .remise-carte { aspect-ratio: 1 / 1; }
  .remise-verre > .pile { height: 124px; width: 220px; margin-top: -8px; margin-bottom: 8px; }
  .pile > figure.wp-block-image { width: 118px; height: 140px; }
  .remise-verre .t-strong { margin-top: 38px; }
  .paysage-note { grid-template-columns: 96px 1fr; }
  .paysage-note figure.wp-block-image > img { width: 96px; height: 84px; }
  .tuile { min-height: 104px; padding: 12px; }
  .tuile .t-b { font-size: 15px; }
  .projekt, .projekt:nth-child(n+4) { grid-column: 1 / -1; }
  .projekt > p:last-child { margin-top: 0; }
  .heros.heros-klein { padding-bottom: 90px; }
  .formular .feld-paar { grid-template-columns: 1fr; }
  .remise-verre > .bild-einzeln { margin-top: 0; }
  .konto .t-dd.iban { font-size: 17px; }
  figure.video-quadrat { width: min(190px, 100%); margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
