/* ------------------------------------------------------------------
   Fonts — entirely local, nothing is fetched from Google.

   All eight files ship with the program and lie in assets/fonts/. Where
   they come from, which version, and their checksums stand in
   assets/fonts/LIESMICH.txt; the licences lie beside them.

   The page holds up without them as well — every role below ends in a
   genus of the device — but that is the safety net, not the plan. Rename
   a file here and it has to be renamed there: the check in
   tests/phpunit/StylesheetTest.php looks for every name this block
   mentions.
   ------------------------------------------------------------------

   © 2026 David Bursch (vvv-net.de) · Proprietary licence, see LIZENZ.md
*/

@font-face{
  font-family:'Vollkorn';font-style:normal;font-weight:600;font-display:swap;
  src:url('assets/fonts/vollkorn-600.woff2') format('woff2');
}
@font-face{
  font-family:'Vollkorn';font-style:normal;font-weight:700;font-display:swap;
  src:url('assets/fonts/vollkorn-700.woff2') format('woff2');
}
@font-face{
  font-family:'Vollkorn';font-style:italic;font-weight:500;font-display:swap;
  src:url('assets/fonts/vollkorn-500-italic.woff2') format('woff2');
}
@font-face{
  font-family:'Work Sans';font-style:normal;font-weight:400;font-display:swap;
  src:url('assets/fonts/worksans-400.woff2') format('woff2');
}
@font-face{
  font-family:'Work Sans';font-style:normal;font-weight:600;font-display:swap;
  src:url('assets/fonts/worksans-600.woff2') format('woff2');
}
@font-face{
  font-family:'Work Sans';font-style:normal;font-weight:700;font-display:swap;
  src:url('assets/fonts/worksans-700.woff2') format('woff2');
}
@font-face{
  font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;
  src:url('assets/fonts/jetbrainsmono-500.woff2') format('woff2');
}
@font-face{
  font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;
  src:url('assets/fonts/jetbrainsmono-700.woff2') format('woff2');
}

:root{
    /* The base palette — deliberately quiet, and tied to no particular
       deployment. Colours of your own are entered in the administration
       area under appearance; the head of the page writes a small <style>
       block out of them that overrides these values. */
    --paper:#F5F6F8;
    --paper-2:#EAECF0;
    --ink:#171A1F;
    --ink-soft:#5A6270;
    --pine:#2F4A66;        /* dark primary — buttons, links */
    --pine-2:#3E6390;      /* primary */
    --brick:#8A4B2A;       /* accent text, dates for instance */
    --brick-2:#3E6390;
    --rye:#8A4B2A;
    --rye-bright:#9EC2E8;  /* light accent for dark surfaces */
    --sky:#646C7A;         /* muted, past events for instance */
    --card:#FFFFFF;

    /* The same ten colours as channels, for translucent shades:
       rgba() cannot be handed a property that holds "#3E6390". The
       program's style block writes these alongside every colour that
       was changed, so a see-through surface follows the template
       instead of keeping the colour this file was written for. */
    --paper-rgb:245,246,248;
    --paper-2-rgb:234,236,240;
    --ink-rgb:23,26,31;
    --ink-soft-rgb:90,98,112;
    --pine-rgb:47,74,102;
    --pine-2-rgb:62,99,144;
    --brick-rgb:138,75,42;
    --rye-bright-rgb:158,194,232;
    --sky-rgb:100,108,122;
    --card-rgb:255,255,255;

    /* Telling the reader something went wrong is not a matter of
       taste: red means error in every design, so these stay put
       while everything above follows the template. */
    --error:#A8391A;
    --error-dark:#7C2A12;
    --error-rgb:168,57,26;

    --line: rgba(var(--ink-rgb),0.15);
    --radius: 14px;
    --shadow: 0 1px 2px rgba(var(--ink-rgb),.06), 0 12px 32px -16px rgba(var(--ink-rgb),.28);
    --shadow-lg: 0 2px 4px rgba(var(--ink-rgb),.05), 0 24px 60px -24px rgba(var(--ink-rgb),.36);

    /* The three type roles. Declared here and nowhere else, so that a
       stack is written once and read 54 times — and so that the names
       above the @font-face rules and the names used below cannot drift
       apart.

       Every chain ends in a built-in genus. That is the point of it: a
       font file that is still loading, that a browser refuses or that
       somebody forgot to copy along leaves the page in a font of the
       device rather than in none at all. Whoever adds a role adds the
       genus with it — tests/phpunit/StylesheetTest.php insists on it. */
    --serif:'Vollkorn', Georgia, 'Times New Roman', serif;
    --sans:'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --mono:'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:var(--sans);
    font-size:18px;
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
  }
  /* Soft, overlapping fields of colour — modern, but quiet enough to read on */
  body::before{
    content:"";
    position:fixed;inset:-10%;
    pointer-events:none;
    z-index:0;
    background:
      radial-gradient(48% 42% at 8% 4%, rgba(var(--pine-2-rgb),0.20), transparent 68%),
      radial-gradient(42% 38% at 96% 2%, rgba(var(--rye-bright-rgb),0.26), transparent 66%),
      radial-gradient(46% 44% at 88% 62%, rgba(var(--pine-rgb),0.16), transparent 68%),
      radial-gradient(52% 40% at 18% 92%, rgba(var(--pine-2-rgb),0.15), transparent 70%);
    filter:blur(20px);
  }
  body::after{
    content:"";
    position:fixed;inset:0;
    pointer-events:none;z-index:0;opacity:.22;
    background-image:radial-gradient(rgba(var(--ink-rgb),0.20) 0.5px, transparent 0.5px);
    background-size:4px 4px;
  }
  h1,h2,h3,.eyebrow{font-family:var(--serif);}
  a{color:var(--pine);}
  img{max-width:100%;display:block;}
  .wrap{max-width:1100px;margin:0 auto;padding:0 24px;position:relative;z-index:1;}
  .eyebrow{
    font-family:var(--mono);
    font-size:13.5px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--brick);
    font-weight:700;
  }
  button{font-family:inherit;cursor:pointer;}
  :focus-visible{outline:3px solid var(--pine-2); outline-offset:3px;}

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(var(--paper-rgb),0.96);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:16px 24px;
    max-width:1100px;margin:0 auto;
    position:relative;
  }
  .brand{
    display:flex;align-items:center;gap:12px;min-width:0;
    font-family:var(--serif);color:var(--ink);text-decoration:none;
  }
  .brand .mark{
    height:44px;width:44px;object-fit:contain;flex-shrink:0;
  }
  /* The name stands beside it as real type — in the shrunken logo the
     lettering inside the ribbons would no longer be legible.
     One line, no wrapping. */
  .brand-label{
    font-weight:700;font-size:20px;letter-spacing:-0.005em;
    white-space:nowrap;line-height:1.15;
  }
  .nav-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}

  /* The padlock button that leads to the sign-in */
  .icon-btn{
    display:grid;place-items:center;
    width:42px;height:42px;border-radius:10px;
    background:var(--card);border:1px solid var(--line);
    color:var(--ink-soft);box-shadow:var(--shadow);
    transition:background .18s ease, color .18s ease, border-color .18s ease;
  }
  .icon-btn svg{
    width:19px;height:19px;fill:none;stroke:currentColor;
    stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  }
  .icon-btn:hover{background:var(--pine);color:#fff;border-color:var(--pine);}
  .icon-btn.is-open{background:var(--pine);color:#fff;border-color:var(--pine);}
  .links{
    display:flex;gap:26px;margin:0;padding:0;
    list-style:none;
  }
  .links li{list-style:none;margin:0;padding:0;}
  .links a{
    text-decoration:none;color:var(--ink-soft);font-weight:600;font-size:16px;
    padding:6px 2px;border-bottom:2px solid transparent;
  }
  .links a:hover{color:var(--brick);border-color:var(--rye);}
  .nav-toggle{
    display:none;background:var(--card);border:1px solid var(--line);border-radius:9px;
    padding:9px 12px;font-size:17px;line-height:1;color:var(--ink);
  }
  @media (max-width:860px){
    .links{
      position:absolute;top:100%;left:0;right:0;
      background:var(--paper);flex-direction:column;gap:0;
      border-bottom:1px solid var(--line);display:none;
      padding:6px 24px 16px;box-shadow:var(--shadow);
      list-style:none;
    }
    .links.open{display:flex;}
    .links a{padding:14px 0;border-bottom:1px solid var(--line);display:block;}
    .nav-toggle{display:block;}
  }
  @media (max-width:560px){
    .brand-label{font-size:17px;}
    .brand .mark{height:38px;width:38px;}
  }
  @media (max-width:430px){
    .nav{padding:10px 14px;gap:8px;}
    .brand{gap:9px;}
    .brand .mark{height:36px;width:36px;}
    .brand-label{font-size:15px;}
    /* The addition is dropped so that the name is not cut off */
    .brand-suffix{display:none;}
    .btn-sm{padding:9px 12px;font-size:14px;}
    .icon-btn{width:38px;height:38px;}
  }
  @media (max-width:370px){
    /* Too little room for logo, name and buttons — the logo carries the
       name anyway, so the type is dropped here. */
    .brand-label{display:none;}
    .brand .mark{height:40px;width:40px;}
  }

  /* ---------- HERO ---------- */
  .stage{
    position:relative;
    padding:56px 0 72px;
    overflow:hidden;
  }
  .stage-frame{
    position:relative;
    border-radius:26px;
    overflow:hidden;
    background:
      radial-gradient(900px 520px at 88% -10%, rgba(var(--rye-bright-rgb),0.28), transparent 60%),
      radial-gradient(700px 500px at 5% 110%, rgba(var(--pine-2-rgb),0.32), transparent 62%),
      linear-gradient(155deg, var(--pine-2) 0%, var(--pine) 48%, var(--ink) 100%);
    box-shadow: var(--shadow-lg);
  }
  .stage-frame::after{
    content:"";position:absolute;inset:0;pointer-events:none;
    background-image:radial-gradient(rgba(255,255,255,0.10) 0.5px, transparent 0.5px);
    background-size:5px 5px;
    opacity:.5;
  }
  .stage-inner{padding:56px 46px 52px;position:relative;z-index:2;}
  /* The logo on a light surface — only there does the lettering inside
     the ribbons keep enough contrast. Straight on the dark ground it
     would disappear. */
  .stage-logo{
    position:absolute;top:34px;right:38px;width:190px;z-index:3;
    background:var(--paper);
    padding:16px 18px;
    border-radius:18px;
    box-shadow:0 12px 34px -12px rgba(0,0,0,.45);
    pointer-events:none;
  }
  .stage-head{max-width:640px;margin-bottom:30px;}
  .stage-head .eyebrow{color:var(--rye-bright);}
  .stage-head h1{
    color:var(--paper);font-size:clamp(32px,5vw,52px);line-height:1.08;margin:12px 0 16px;
    letter-spacing:-0.015em;
  }
  .stage-head p{color:rgba(var(--paper-rgb),0.92);font-size:19px;max-width:540px;}
  .cta-row{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap;}
  .btn{
    display:inline-flex;align-items:center;gap:8px;
    padding:12px 22px;border-radius:10px;border:1px solid transparent;
    font-weight:700;font-size:16px;text-decoration:none;letter-spacing:.005em;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  }
  .btn:hover{transform:translateY(-2px);}
  .btn-primary{background:var(--pine);color:#FFFFFF;border-color:transparent;box-shadow:0 6px 18px -8px rgba(var(--pine-rgb),.75);}
  .btn-primary:hover{background:var(--pine-2);box-shadow:0 10px 24px -8px rgba(var(--pine-2-rgb),.85);}
  .btn-ghost{background:rgba(255,255,255,0.14);color:var(--paper);border-color:rgba(255,255,255,0.42);backdrop-filter:blur(6px);}
  .btn-ghost:hover{background:rgba(255,255,255,0.14);}
  .btn-outline{background:var(--card);color:var(--pine);border-color:var(--line);box-shadow:var(--shadow);}
  .btn-outline:hover{background:var(--pine);color:#fff;border-color:var(--pine);}
  .btn-sm{padding:10px 16px;font-size:15px;border-radius:9px;}
  @media (max-width:600px){
    .stage{padding:28px 0 44px;}
    .stage-frame{border-radius:20px;}
    .stage-inner{padding:32px 22px 34px;}
    .stage-logo{position:static;display:block;width:170px;margin:0 0 20px;padding:12px 14px;border-radius:14px;}
    .stage-head{margin-bottom:24px;}
    .cta-row{flex-direction:column;gap:10px;margin-top:24px;}
    .cta-row .btn{width:100%;justify-content:center;}
    section{padding:48px 0;}
    .wrap{padding:0 18px;}
  }
  .lock-hint{
    display:inline-flex;align-items:center;gap:6px;font-size:15.5px;color:var(--ink-soft);
    background:var(--card);border:1px solid var(--line);padding:10px 16px;border-radius:10px;
    box-shadow:var(--shadow);
  }
  .lock-hint .link-btn{font-size:15.5px;}
  .auth-note{font-size:14.5px;color:var(--ink-soft);margin-top:16px;}
  #authModalBody label{margin-top:4px;}
  #authModalBody input{margin-bottom:4px;}

  .pin-grid{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
  }
  .pin-card{
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.24);
    backdrop-filter:blur(10px);
    border-radius:16px;
    padding:22px 20px;
    position:relative;
    transition:transform .2s ease, background .2s ease;
  }
  .pin-card:hover{transform:translateY(-3px);background:rgba(255,255,255,0.18);}
  /* The whole tile is a link to the event */
  a.pin-card{display:block;text-decoration:none;cursor:pointer;}
  a.pin-card:hover{background:rgba(255,255,255,0.20);}
  .pin-card .pin-body{display:block;}
  .pin-card .meta{display:flex;}
  .pin-place{display:block;font-size:15.5px;color:rgba(var(--paper-rgb),0.85);}
  /* The arrow at the top right shows that the tile can be clicked */
  a.pin-card::after{
    content:"→";
    position:absolute;top:14px;right:16px;
    font-size:19px;color:var(--rye-bright);
    opacity:0;transform:translateX(-4px);
    transition:opacity .2s ease, transform .2s ease;
  }
  a.pin-card.has-image::after{
    top:auto;bottom:16px;right:18px;
  }
  a.pin-card:hover::after, a.pin-card:focus-visible::after{opacity:1;transform:translateX(0);}
  .pin-card .eyebrow{font-size:12px;color:var(--rye-bright);}
  .pin-card h2, .pin-card h3{
    font-size:20px;margin:8px 0 8px;line-height:1.3;color:var(--paper);
    font-family:var(--serif);font-weight:700;
  }
  .pin-card .meta{
    font-family:var(--mono);font-size:14px;color:var(--rye-bright);
    display:flex;gap:10px;flex-wrap:wrap;margin-bottom:8px;font-weight:700;
  }
  .pin-card p{font-size:15.5px;color:rgba(var(--paper-rgb),0.85);margin:0;}
  .pin-empty{
    background:rgba(255,255,255,0.08);border:1px dashed rgba(255,255,255,0.35);
    border-radius:16px;padding:26px;color:rgba(var(--paper-rgb),0.9);font-size:16px;text-align:center;
  }

  /* ---------- SECTIONS ---------- */
  section{padding:70px 0;}
  .section-head{max-width:600px;margin-bottom:36px;}
  .section-head h2{font-size:clamp(26px,3.4vw,34px);margin:8px 0 10px;color:var(--ink);}
  .section-head p{color:var(--ink-soft);font-size:17.5px;}
  .divider{
    height:1px;background:linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
    margin:0;
  }

  /* About */
  .about-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;align-items:start;}
  @media (max-width:760px){.about-grid{grid-template-columns:1fr;}}
  .about-grid p{color:var(--ink-soft);font-size:17.5px;margin-bottom:16px;}
  .people-list{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px 26px;box-shadow:var(--shadow);}
  .people-list h3{margin:0 0 14px;font-size:16px;font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--pine);}
  .people-list ul{list-style:none;margin:0;padding:0;}
  .people-list li{
    padding:12px 0;border-top:1px solid var(--line);font-weight:600;font-size:16.5px;
    display:flex;justify-content:space-between;gap:10px;
  }
  .people-list li span{font-weight:400;color:var(--ink-soft);font-size:15px;}
  .people-list li:first-child{border-top:none;}

  /* Events section list */
  .events-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:28px;}
  @media (max-width:560px){
    .events-toolbar{align-items:stretch;}
    #eventAddControls, #photoAddControls{width:100%;}
    #eventAddControls .btn, #photoAddControls .btn, .lock-hint{width:100%;justify-content:center;box-sizing:border-box;}
  }
  .events-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px;}
  .event-card{
    background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
    padding:22px;position:relative;box-shadow:var(--shadow);
    transition:transform .2s ease, box-shadow .2s ease;
    overflow:hidden;
  }
  .event-card::before{
    content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--pine-2);
  }
  .event-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);}
  .event-card.is-past{opacity:.92;}
  .event-card.is-past::before{background:var(--sky);}
  .event-card .meta{font-family:var(--mono);font-size:14px;color:var(--brick);font-weight:700;margin-bottom:8px;}
  .event-card.is-past .meta{color:var(--sky);}
  .event-card h3{margin:0 0 8px;font-size:20px;}
  .event-card .loc{font-size:15.5px;color:var(--ink-soft);margin-bottom:8px;}
  .event-card p.desc{font-size:16px;color:var(--ink-soft);margin:0 0 10px;}
  .event-card .row-actions{display:flex;gap:14px;margin-top:10px;}
  .link-btn{
    background:none;border:none;font-size:15px;font-weight:700;color:var(--pine);padding:0;
    text-decoration:underline;text-underline-offset:3px;
  }
  .link-btn.danger{color:var(--brick);}
  .badge-demo{
    font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;
    background:rgba(var(--pine-2-rgb),.16);color:var(--pine);padding:3px 8px;border-radius:20px;margin-left:8px;font-weight:700;vertical-align:middle;
  }

  /* Add forms */
  .panel{
    background:var(--card);border:1px solid var(--line);border-radius:18px;
    padding:28px;margin-top:22px;box-shadow:var(--shadow-lg);
  }
  .panel h3{margin:0 0 4px;font-size:19px;}
  .panel .hint{font-size:15.5px;color:var(--ink-soft);margin:0 0 20px;}
  .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
  .form-grid .full{grid-column:1/-1;}
  @media (max-width:600px){.form-grid{grid-template-columns:1fr;}}
  label{display:block;font-size:14px;font-weight:700;color:var(--ink-soft);margin-bottom:6px;font-family:var(--mono);letter-spacing:.03em;}
  input[type=text],input[type=date],input[type=time],input[type=password],
  input[type=email],input[type=tel],input[type=url],input[type=number],
  input[type=search],select,textarea,input[type=file]{
    width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;
    font-family:var(--sans);font-size:17px;background:#fff;color:var(--ink);
    transition:border-color .15s ease, box-shadow .15s ease;
  }
  input:focus,select:focus,textarea:focus{
    outline:none;border-color:var(--pine-2);box-shadow:0 0 0 3px rgba(var(--pine-2-rgb),.25);
  }
  textarea{resize:vertical;min-height:70px;}
  .panel-actions{display:flex;gap:14px;margin-top:20px;align-items:center;flex-wrap:wrap;}
  .status-msg{font-size:15px;color:var(--pine);font-weight:700;}
  .link-btn{padding:6px 0;}

  /* Sharing */
  .share-btn{
    display:inline-flex;align-items:center;gap:6px;
    background:none;border:none;padding:6px 0;
    font-size:15px;font-weight:700;color:var(--pine);
    text-decoration:underline;text-underline-offset:3px;
  }
  .share-btn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
  .photo-card .share-btn{text-decoration:none;color:var(--ink-soft);}
  .photo-card .share-btn:hover{color:var(--pine);}
  .cap-actions{display:flex;gap:14px;align-items:center;margin-top:8px;}
  .share-sheet{
    position:fixed;inset:0;z-index:120;display:none;
    align-items:flex-end;justify-content:center;
    background:rgba(var(--ink-rgb),0.5);backdrop-filter:blur(4px);
  }
  .share-sheet.open{display:flex;}
  .share-panel{
    background:var(--card);width:100%;max-width:440px;
    border-radius:20px 20px 0 0;padding:26px 24px 30px;
    box-shadow:var(--shadow-lg);
  }
  @media (min-width:601px){
    .share-sheet{align-items:center;}
    .share-panel{border-radius:20px;}
  }
  .share-panel h3{margin:0 0 4px;font-size:18px;}
  .share-panel .share-below{font-size:15.5px;color:var(--ink-soft);margin:0 0 20px;}
  .share-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:12px;}
  .share-opt{
    display:flex;flex-direction:column;align-items:center;gap:8px;
    background:none;border:1px solid var(--line);border-radius:14px;
    padding:16px 10px;font-size:14.5px;font-weight:600;color:var(--ink);
    transition:transform .15s ease, border-color .15s ease;
  }
  .share-opt:hover{transform:translateY(-2px);border-color:var(--pine-2);}
  .share-opt .icon{
    width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
    color:#fff;font-size:16px;font-weight:700;
  }
  .share-opt .icon svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
  .ic-whatsapp{background:#25D366;}
  .ic-facebook{background:#1877F2;}
  .ic-mail{background:var(--pine);}
  .ic-copy{background:var(--sky);}
  .ic-cal{background:var(--brick);}
  .ic-download{background:var(--rye);}
  .share-close{
    margin-top:20px;width:100%;text-align:center;
    background:none;border:none;font-size:16px;font-weight:600;color:var(--ink-soft);padding:12px;
  }
  .toast{
    position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);
    background:var(--ink);color:#fff;padding:12px 20px;border-radius:12px;
    font-size:16px;font-weight:600;z-index:200;opacity:0;pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
    box-shadow:var(--shadow-lg);
  }
  .toast.show{opacity:1;transform:translateX(-50%) translateY(0);}

  /* Gallery */
  .cat-bar{
    display:flex;gap:9px;flex-wrap:wrap;margin-bottom:26px;
  }
  .cat-chip{
    display:inline-flex;align-items:center;gap:7px;
    padding:8px 15px;border-radius:20px;border:1px solid var(--line);
    background:var(--card);color:var(--ink-soft);
    font-size:15.5px;font-weight:600;font-family:var(--sans);
    transition:all .18s ease;
  }
  .cat-chip:hover{border-color:var(--pine-2);color:var(--pine);}
  .cat-chip.active{background:var(--pine);color:#fff;border-color:var(--pine);}
  .cat-chip .count{
    font-family:var(--mono);font-size:12.5px;
    background:rgba(var(--ink-rgb),.09);padding:1px 7px;border-radius:10px;
  }
  .cat-chip.active .count{background:rgba(255,255,255,.2);}
  .cat-group{margin-bottom:44px;}
  .cat-group:last-child{margin-bottom:0;}
  .cat-group-head{
    display:flex;align-items:baseline;gap:12px;margin-bottom:18px;flex-wrap:wrap;
    padding-bottom:10px;border-bottom:1px solid var(--line);
  }
  .cat-group-actions{
    display:flex;align-items:center;gap:16px;margin-left:auto;flex-wrap:wrap;
  }
  @media (max-width:560px){
    .cat-group-actions{margin-left:0;width:100%;gap:14px;}
  }
  .cat-group-head h3{font-size:23px;margin:0;}
  .cat-group-head .count{
    font-family:var(--mono);font-size:14px;color:var(--ink-soft);
  }
  .gallery-grid{
    columns:3 260px;column-gap:18px;
  }
  @media (max-width:700px){.gallery-grid{columns:2 180px;}}
  @media (max-width:460px){.gallery-grid{columns:1;}}
  .photo-card{
    break-inside:avoid;margin:0 0 18px;background:var(--card);padding:0;
    box-shadow:var(--shadow);position:relative;
    border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .photo-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);}
  .photo-card img{width:100%;display:block;}
  .photo-card figcaption{padding:14px 16px 16px;}
  .photo-card .cap-title{font-weight:600;font-size:16.5px;}
  .photo-card .cap-date{font-family:var(--mono);font-size:13px;color:var(--ink-soft);margin-top:4px;}
  .photo-card .cap-cat{
    display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
    color:var(--pine);background:rgba(var(--pine-2-rgb),.13);padding:3px 9px;border-radius:20px;margin-bottom:8px;
    font-family:var(--mono);
  }
  .photo-card .cap-del{margin-top:8px;}
  .gallery-empty{
    text-align:center;padding:50px 24px;border:1px dashed var(--line);border-radius:18px;
    color:var(--ink-soft);background:rgba(255,255,255,.5);
  }

  /* Contact */
  .contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;}
  @media (max-width:700px){.contact-grid{grid-template-columns:1fr;}}
  .contact-card{
    background:
      radial-gradient(600px 300px at 90% 0%, rgba(var(--rye-bright-rgb),0.26), transparent 60%),
      linear-gradient(155deg, var(--pine-2), var(--ink));
    color:var(--paper);border-radius:18px;padding:34px;box-shadow:var(--shadow-lg);
  }
  .contact-card h3{margin:0 0 14px;font-family:var(--serif);font-size:22px;}
  .contact-card p{margin:0 0 6px;font-size:17px;color:rgba(var(--paper-rgb),0.92);}
  .contact-card a{color:#fff;font-weight:700;}
  .contact-card .sep{height:1px;background:rgba(255,255,255,0.16);margin:18px 0;}

  footer{border-top:1px solid var(--line);padding:30px 0 50px;}
  .foot-row{
    display:flex;justify-content:space-between;flex-wrap:wrap;gap:18px 24px;
    align-items:center;font-size:15px;color:var(--ink-soft);
  }
  .foot-copy{flex-shrink:0;}
  .foot-links{display:flex;gap:18px;}
  .foot-links a,.foot-links button{color:var(--ink-soft);text-decoration:underline;text-underline-offset:3px;background:none;border:none;font-size:15px;font-family:inherit;}

  .modal-backdrop{
    position:fixed;inset:0;background:rgba(var(--ink-rgb),0.55);display:none;
    align-items:center;justify-content:center;z-index:100;padding:20px;
    backdrop-filter:blur(4px);
  }
  .modal-backdrop.open{display:flex;}
  .modal{background:var(--card);max-width:560px;width:100%;max-height:80vh;overflow:auto;padding:32px;border-radius:20px;box-shadow:var(--shadow-lg);}
  .modal h2{margin-top:0;font-size:25px;}
  .modal h4{margin:20px 0 4px;font-size:16px;}
  .modal p{font-size:16.5px;color:var(--ink-soft);margin:0 0 6px;}
  .modal-close{float:right;background:none;border:none;font-size:20px;color:var(--ink-soft);padding:6px;}
  @media (max-width:600px){
    .modal-backdrop{padding:0;align-items:flex-end;}
    .modal{max-width:none;width:100%;max-height:92vh;border-radius:14px 14px 0 0;padding:24px 20px 30px;}
  }

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{transition:none !important;animation:none !important;}
    /* The loading indicator stays visible but does not spin */
    .logo-spinner, .lb-frame.loading::after{
      animation:logofade 1.6s ease-in-out infinite !important;
    }
    @keyframes logofade{0%,100%{opacity:1;}50%{opacity:.35;}}
  }


  /* The tidying bar for events that have passed */
  .event-cleanup{
    display:flex;align-items:center;gap:16px;flex-wrap:wrap;
    background:var(--card);border:1px solid var(--line);border-radius:12px;
    padding:14px 18px;margin-bottom:20px;font-size:15.5px;color:var(--ink-soft);
  }

  /* ---------- HOW TO GET THERE / MAP ---------- */
  .map-grid{
    display:grid;grid-template-columns:1.35fr 1fr;gap:32px;align-items:stretch;
  }
  @media (max-width:820px){.map-grid{grid-template-columns:1fr;}}
  .map-frame{
    border-radius:18px;overflow:hidden;border:1px solid var(--line);
    box-shadow:var(--shadow);background:var(--card);min-height:360px;
  }
  .map-frame iframe{width:100%;height:100%;min-height:360px;border:0;display:block;}
  .map-info{
    background:var(--card);border:1px solid var(--line);border-radius:18px;
    padding:28px;box-shadow:var(--shadow);display:flex;flex-direction:column;
  }
  .map-info h3{margin:0 0 10px;font-size:20px;}
  .map-intro{font-size:16px;color:var(--ink-soft);margin:0 0 18px;}
  .fact-list{list-style:none;margin:0 0 22px;padding:0;}
  .fact-list li{
    padding:11px 0;border-top:1px solid var(--line);font-size:16px;
    display:flex;gap:12px;flex-wrap:wrap;
  }
  .fact-list li:first-child{border-top:none;}
  .fact-list li span{
    font-family:var(--mono);font-size:13px;color:var(--ink-soft);
    min-width:120px;text-transform:uppercase;letter-spacing:.04em;
  }
  .map-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:auto;}
  @media (max-width:480px){.map-actions .btn{width:100%;justify-content:center;}}
  .map-note{font-size:13px;color:var(--ink-soft);margin:16px 0 0;}

  /* ---------- PARTNERS ---------- */
  .partner-grid{
    display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px;
  }
  .partner-card{
    background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
    padding:24px 20px;box-shadow:var(--shadow);text-align:center;
    display:flex;flex-direction:column;align-items:center;gap:12px;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .partner-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);}
  .partner-logo{
    height:78px;width:100%;display:flex;align-items:center;justify-content:center;
  }
  .partner-logo img{max-height:78px;max-width:100%;object-fit:contain;}
  .partner-logo .placeholder{
    font-family:var(--serif);font-size:26px;font-weight:700;color:var(--pine);
    background:rgba(var(--pine-2-rgb),.11);width:70px;height:70px;border-radius:50%;
    display:grid;place-items:center;
  }
  .partner-card h3{margin:0;font-size:18px;}
  .partner-card .sp-note{font-size:14.5px;color:var(--ink-soft);margin:0;}
  .partner-card .sp-link{font-size:14px;font-weight:700;color:var(--pine);text-decoration:none;}
  .partner-card .sp-link:hover{text-decoration:underline;}
  .partner-card .sp-actions{display:flex;gap:14px;margin-top:4px;}
  .partner-empty{
    grid-column:1/-1;text-align:center;padding:44px 24px;
    border:1px dashed var(--line);border-radius:18px;color:var(--ink-soft);
    background:rgba(255,255,255,.5);
  }

  /* The partner row in the footer */
  /* The partner row — in the footer between the copyright and the document link */
  .foot-partners{
    display:flex;align-items:center;justify-content:center;gap:14px 22px;flex-wrap:wrap;
    flex:1 1 auto;min-width:0;
  }
  .foot-partners:empty{display:none;}
  .foot-partners .fs-caption{
    font-family:var(--mono);
    font-size:12px;letter-spacing:.1em;text-transform:uppercase;
    color:var(--ink-soft);opacity:.75;flex-shrink:0;
  }
  .foot-partners a, .foot-partners span.fs-item{
    display:inline-flex;align-items:center;
    filter:grayscale(1);opacity:.65;transition:filter .2s ease, opacity .2s ease;
  }
  .foot-partners a:hover{filter:grayscale(0);opacity:1;}
  .foot-partners img{max-height:34px;max-width:110px;object-fit:contain;}
  .foot-partners .fs-name{
    font-weight:700;font-size:14.5px;color:var(--ink-soft);text-decoration:none;
  }
  @media (max-width:760px){
    /* A line of its own on narrow devices, so that nothing is squeezed */
    .foot-row{justify-content:center;text-align:center;}
    .foot-partners{
      flex:1 0 100%;order:2;
      padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
    }
    .foot-copy{order:1;flex:1 0 100%;}
    .foot-links{order:3;flex:1 0 100%;justify-content:center;}
  }

  /* ---------- GALLERY: loading more ---------- */
  .photo-open{
    display:block;width:100%;padding:0;border:none;background:none;cursor:zoom-in;
    line-height:0;
  }
  .photo-open img{
    width:100%;display:block;background:var(--paper-2);
    transition:opacity .3s ease;
  }
  .photo-card:hover .photo-open img{opacity:.93;}
  .gallery-more{
    display:flex;flex-direction:column;align-items:center;gap:14px;
    padding:34px 0 10px;position:relative;
  }
  .gallery-more .gm-count{
    font-family:var(--mono);font-size:13.5px;color:var(--ink-soft);
  }
  .gallery-more .gm-sentinel{
    position:absolute;bottom:120px;left:0;right:0;height:1px;pointer-events:none;
  }
  #loadMorePhotos:disabled{opacity:.6;cursor:default;}

  /* ---------- IMAGE VIEWER ---------- */
  .lightbox{
    position:fixed;inset:0;z-index:150;display:none;
    align-items:center;justify-content:center;padding:24px;
    background:rgba(var(--ink-rgb),0.95);
  }
  .lightbox.open{display:flex;}
  .lb-frame{
    margin:0;max-width:1100px;max-height:100%;
    display:flex;flex-direction:column;align-items:center;gap:14px;position:relative;
  }
  .lb-frame img{
    max-width:100%;max-height:78vh;object-fit:contain;border-radius:8px;
    box-shadow:0 30px 70px -30px rgba(0,0,0,.9);
    transition:filter .25s ease;
  }
  .lb-frame.loading img{filter:blur(8px);}
  .lb-frame.loading::after{
    content:"";position:absolute;top:50%;left:50%;
    width:72px;height:72px;margin:-36px 0 0 -36px;
    background:url("assets/spinner-hell.png?v=20260902") center/contain no-repeat;
    animation:logospin 1.4s cubic-bezier(.55,.15,.45,.85) infinite;
    filter:drop-shadow(0 4px 12px rgba(0,0,0,.5));
  }

  /* The logo spins while loading */
  @keyframes logospin{
    0%   {transform:rotate(0deg)   scale(1);   opacity:.9;}
    50%  {transform:rotate(180deg) scale(.88); opacity:.55;}
    100% {transform:rotate(360deg) scale(1);   opacity:.9;}
  }

  /* A reusable loading indicator carrying the logo */
  .logo-spinner{
    width:46px;height:46px;
    background:url("assets/spinner.png?v=20260902") center/contain no-repeat;
    animation:logospin 1.4s cubic-bezier(.55,.15,.45,.85) infinite;
    margin:0 auto;
  }
  .logo-spinner.small{width:28px;height:28px;}
  .logo-spinner.light{background-image:url("assets/spinner-hell.png?v=20260902");}

  .load-state{
    display:flex;flex-direction:column;align-items:center;gap:14px;
    padding:44px 20px;color:var(--ink-soft);font-size:16px;text-align:center;
  }

  /* The loading indicator when the page is first opened */
  .page-loader{
    position:fixed;inset:0;z-index:300;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;
    background:var(--paper);
    transition:opacity .45s ease, visibility .45s ease;
  }
  .page-loader .logo-spinner{width:84px;height:84px;}
  .page-loader p{
    font-family:var(--mono);font-size:13px;letter-spacing:.12em;
    text-transform:uppercase;color:var(--ink-soft);margin:0;
  }
  .page-loader.done{opacity:0;visibility:hidden;}
  /* A safety net: should the script fail to load, the indicator
     disappears by itself after 10 seconds and frees the page. */
  .page-loader{animation:loaderFallback 0s linear 10s forwards;}
  @keyframes loaderFallback{to{opacity:0;visibility:hidden;pointer-events:none;}}

  /* A button with the spinning logo while more is being loaded */
  .btn .logo-spinner{
    width:20px;height:20px;margin:0;
  }
  .lb-caption{
    color:var(--paper);text-align:center;display:flex;flex-direction:column;gap:4px;
    font-size:16px;
  }
  .lb-caption span{color:rgba(var(--paper-rgb),0.7);font-size:14.5px;}
  .lb-caption .lb-pos{
    font-family:var(--mono);font-size:12.5px;
    color:rgba(var(--paper-rgb),0.5);
  }
  .lb-close, .lb-nav{
    position:absolute;background:rgba(255,255,255,0.12);border:1px solid rgba(255,255,255,0.22);
    color:#fff;border-radius:50%;width:48px;height:48px;font-size:26px;line-height:1;
    display:grid;place-items:center;z-index:2;backdrop-filter:blur(6px);
    transition:background .18s ease;
  }
  .lb-close:hover, .lb-nav:hover{background:rgba(255,255,255,0.24);}
  .lb-close{top:20px;right:20px;font-size:30px;}
  .lb-nav{top:50%;transform:translateY(-50%);}
  .lb-prev{left:20px;}
  .lb-next{right:20px;}
  @media (max-width:600px){
    .lightbox{padding:12px;}
    .lb-frame img{max-height:64vh;}
    .lb-close{top:12px;right:12px;width:42px;height:42px;}
    .lb-nav{width:42px;height:42px;bottom:22px;top:auto;transform:none;}
    .lb-prev{left:auto;right:70px;}
    .lb-next{right:14px;}
  }

  /* The note shown when the server hands out no data */
  .server-problem{
    grid-column:1/-1;
    background:var(--card);border:1px solid var(--line);border-left:4px solid var(--brick);
    border-radius:var(--radius);padding:24px 26px;box-shadow:var(--shadow);
  }
  .server-problem strong{display:block;font-size:17px;margin-bottom:8px;color:var(--brick);}
  .server-problem p{margin:0 0 10px;font-size:15.5px;color:var(--ink-soft);}
  .server-problem .sp-hint{font-size:14.5px;}
  .server-problem code{
    font-family:var(--mono);font-size:13.5px;
    background:rgba(var(--ink-rgb),.07);padding:2px 6px;border-radius:4px;
  }

  /* ---------- EVENTS WITH A PICTURE ---------- */
  .event-card.has-image{padding:0;overflow:hidden;}
  .event-card.has-image .ev-body{padding:20px 22px 22px;}
  .event-card:not(.has-image) .ev-body{padding:0;}
  .ev-thumb{
    display:block;width:100%;padding:0;border:none;background:var(--paper-2);
    cursor:zoom-in;line-height:0;
  }
  .ev-thumb img{
    width:100%;height:150px;object-fit:cover;display:block;
    transition:transform .35s ease, opacity .2s ease;
  }
  .event-card.has-image:hover .ev-thumb img{transform:scale(1.03);}
  .event-card.has-image::before{z-index:2;}

  /* The preview of the picture already there, in the form */
  .current-image{
    display:flex;align-items:center;gap:14px;margin-top:12px;
    background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:10px 12px;
  }
  .current-image img{
    width:74px;height:56px;object-fit:cover;border-radius:6px;flex-shrink:0;
  }
  .current-image .ci-caption{
    display:block;font-size:13.5px;color:var(--ink-soft);margin-bottom:2px;
  }

  /* ---------- THE SMALL PICTURE IN THE HERO TILE ---------- */
  .pin-card.has-image{
    padding:0;overflow:hidden;
    display:flex;flex-direction:column;
  }
  .pin-card.has-image .pin-body{padding:18px 20px 20px;}
  .pin-thumb{
    display:block;width:100%;padding:0;border:none;background:rgba(0,0,0,.2);
    line-height:0;
  }
  .pin-thumb img{
    width:100%;height:104px;object-fit:cover;display:block;
    transition:transform .35s ease;
  }
  .pin-card.has-image:hover .pin-thumb img{transform:scale(1.04);}
  @media (max-width:600px){
    .pin-thumb img{height:132px;}
  }

  /* An icon inside a button, the calendar for instance */
  .btn-icon{
    width:18px;height:18px;flex-shrink:0;
    fill:none;stroke:currentColor;stroke-width:2;
    stroke-linecap:round;stroke-linejoin:round;
  }
  #eventAddControls{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
  @media (max-width:560px){
    #eventAddControls .btn{width:100%;justify-content:center;}
  }

  /* ---------- PRIVACY NOTE ---------- */
  .privacy-bar{
    position:fixed;left:0;right:0;bottom:0;z-index:140;
    background:var(--card);border-top:1px solid var(--line);
    box-shadow:0 -8px 30px -12px rgba(var(--ink-rgb),.28);
    transform:translateY(0);
    animation:pbIn .45s ease .6s both;
  }
  @keyframes pbIn{from{transform:translateY(100%);}to{transform:translateY(0);}}
  .privacy-bar[hidden]{display:none;}
  .pb-inner{
    max-width:1100px;margin:0 auto;padding:16px 24px;
    display:flex;align-items:center;gap:20px;flex-wrap:wrap;
  }
  .pb-inner p{margin:0;flex:1;min-width:240px;font-size:15.5px;color:var(--ink-soft);}
  .pb-actions{display:flex;align-items:center;gap:18px;flex-shrink:0;}
  @media (max-width:600px){
    .pb-inner{padding:16px 18px;gap:14px;}
    .pb-actions{width:100%;justify-content:space-between;}
    .pb-actions .btn{flex:1;justify-content:center;margin-left:12px;}
  }

  /* The highlight when a link jumps straight to one event */
  .event-card.featured{
    animation:terminHighlight 2.6s ease;
  }
  @keyframes terminHighlight{
    0%   {box-shadow:0 0 0 0 rgba(var(--pine-2-rgb),.55), var(--shadow);}
    18%  {box-shadow:0 0 0 6px rgba(var(--pine-2-rgb),.30), var(--shadow-lg);}
    100% {box-shadow:0 0 0 0 rgba(var(--pine-2-rgb),0), var(--shadow);}
  }
  /* An event jumped to must not hide under the page head */
  .event-card{scroll-margin-top:110px;}

  /* ---------- THE PAGE ABOUT THE PLACE ---------- */
  .profile h2{font-size:clamp(24px,3.2vw,32px);margin:8px 0 26px;}
  .profile-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:40px;align-items:start;}
  @media (max-width:860px){.profile-grid{grid-template-columns:1fr;gap:28px;}}
  .profile-text h3{
    font-size:21px;margin:32px 0 10px;color:var(--pine);
    padding-top:18px;border-top:1px solid var(--line);
  }
  .profile-text h3:first-of-type{margin-top:22px;}
  .profile-text p{font-size:17.5px;color:var(--ink-soft);margin:0 0 14px;}
  .profile-text strong{color:var(--ink);font-weight:600;}
  .profile-text em{font-style:italic;}
  .profile-facts{
    background:var(--card);border:1px solid var(--line);border-radius:18px;
    padding:26px 28px;box-shadow:var(--shadow);position:sticky;top:100px;
  }
  @media (max-width:860px){.profile-facts{position:static;}}
  .profile-facts h3{margin:0 0 16px;font-size:18px;}
  .profile-facts dl{margin:0;}
  .profile-facts dt{
    font-family:var(--mono);font-size:12px;letter-spacing:.06em;
    text-transform:uppercase;color:var(--ink-soft);margin-top:14px;
  }
  .profile-facts dt:first-child{margin-top:0;}
  .profile-facts dd{margin:2px 0 0;font-size:16.5px;font-weight:600;}
  .profile-facts .source{
    font-size:13px;color:var(--ink-soft);margin:22px 0 0;
    padding-top:14px;border-top:1px solid var(--line);font-weight:400;
  }

  /* ---------- PICTURES ON THAT PAGE ---------- */
  .profile-images-head{margin:0 0 22px;}
  .profile-images{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:20px;margin:0 0 34px;
  }
  .profile-images:empty{display:none;}
  .profile-image{
    margin:0;background:var(--card);border:1px solid var(--line);
    border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .profile-image:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);}
  .db-open{
    display:block;width:100%;padding:0;border:none;background:var(--paper-2);
    cursor:zoom-in;line-height:0;
  }
  .db-open img{width:100%;height:190px;object-fit:cover;display:block;}
  .profile-image figcaption{padding:14px 16px 16px;display:flex;flex-direction:column;gap:4px;}
  .pi-title{font-weight:600;font-size:16px;}
  .pi-text{font-size:14.5px;color:var(--ink-soft);}
  .profile-image figcaption .link-btn{align-self:flex-start;margin-top:4px;}
  .profile-empty{
    grid-column:1/-1;padding:28px;border:1px dashed var(--line);border-radius:16px;
    background:rgba(255,255,255,.55);
  }
  .profile-empty strong{display:block;font-size:17px;margin-bottom:8px;}
  .profile-empty p{margin:0;font-size:15.5px;color:var(--ink-soft);}
  @media (max-width:560px){
    .profile-images-head .btn{width:100%;justify-content:center;}
    .db-open img{height:210px;}
  }

  /* The credit under a picture somebody else took */
  .pi-source{
    font-size:12.5px;color:var(--ink-soft);margin-top:2px;
  }
  .pi-source a{color:var(--ink-soft);text-decoration:underline;text-underline-offset:2px;}
  .pi-source a:hover{color:var(--pine);}

  /* The fuller partner card */
  .sp-meta{
    display:flex;flex-direction:column;align-items:center;gap:2px;
    font-size:14px;color:var(--ink-soft);
  }
  .sp-branche{font-weight:600;color:var(--pine);font-size:14.5px;}
  .partner-place{font-size:13.5px;}
  .sp-links{display:flex;flex-direction:column;gap:6px;align-items:center;}
  .sp-tel{
    font-family:var(--mono);font-size:14px;
    color:var(--ink-soft);text-decoration:none;
  }
  .sp-tel:hover{color:var(--pine);text-decoration:underline;}

  /* ============ THE SITE OF SEVERAL PAGES ============ */

  .skip{
    position:absolute;left:-9999px;top:0;z-index:200;
    background:var(--pine);color:#fff;padding:12px 20px;border-radius:0 0 8px 0;
  }
  .skip:focus{left:0;}

  .links a.current{color:var(--pine);border-color:var(--pine-2);}

  .page-head{padding:44px 0 26px;}
  .page-head h1{
    font-size:clamp(28px,4vw,42px);line-height:1.12;margin:10px 0 14px;
    letter-spacing:-0.015em;
  }
  .page-head .lead{font-size:19px;color:var(--ink-soft);max-width:62ch;margin:0;}
  .page-head.narrow-head .lead{max-width:52ch;}

  .crumb{
    font-size:14.5px;color:var(--ink-soft);margin-bottom:16px;
    display:flex;gap:8px;flex-wrap:wrap;align-items:center;
  }
  .crumb a{color:var(--ink-soft);}
  .crumb a:hover{color:var(--pine);}
  .crumb span[aria-current]{color:var(--ink);font-weight:600;}

  .narrow{max-width:780px;}
  .empty-hint{
    padding:34px 26px;border:1px dashed var(--line);border-radius:16px;
    background:rgba(255,255,255,.55);color:var(--ink-soft);font-size:17px;
  }

  .notice{
    background:rgba(var(--pine-2-rgb),.10);border-left:4px solid var(--pine-2);
    padding:14px 18px;border-radius:8px;font-size:16px;margin:0 0 24px;
  }
  .notice.error{background:rgba(var(--error-rgb),.08);border-left-color:var(--error);color:var(--error-dark);}

  .required{color:var(--brick);}
  .inline-form{display:inline;}
  .delete-form{margin-top:26px;}
  .check-box{display:flex;align-items:center;gap:8px;font-size:15px;font-family:inherit;
    text-transform:none;letter-spacing:0;color:var(--ink);margin-top:6px;}
  .check-box input{width:auto;}

  /* Event tiles: the title as a link */
  .event-card h3 a{color:inherit;text-decoration:none;}
  .event-card h3 a:hover{color:var(--pine);text-decoration:underline;text-underline-offset:3px;}
  .event-card .row-actions{align-items:center;flex-wrap:wrap;}

  /* The page of a single event */
  .event-page{padding:34px 0 20px;}
  .event-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:44px;align-items:start;}
  @media (max-width:860px){.event-grid{grid-template-columns:1fr;gap:28px;}}
  .event-main h1{font-size:clamp(28px,4vw,40px);margin:8px 0 22px;line-height:1.15;}
  .event-facts{
    display:grid;gap:0;margin:0 0 28px;background:var(--card);
    border:1px solid var(--line);border-radius:14px;padding:6px 22px;box-shadow:var(--shadow);
  }
  .event-facts > div{
    display:grid;grid-template-columns:130px 1fr;gap:8px 16px;align-items:baseline;
    padding:13px 0;border-top:1px solid var(--line);
  }
  @media (max-width:520px){
    .event-facts > div{grid-template-columns:1fr;gap:2px;}
  }
  .event-facts > div:first-child{border-top:none;}
  .event-facts dt{
    font-family:var(--mono);font-size:12.5px;letter-spacing:.06em;
    text-transform:uppercase;color:var(--ink-soft);
  }
  .event-facts dd{margin:0;font-size:17px;font-weight:600;}
  .event-text p{font-size:17.5px;color:var(--ink-soft);margin:0 0 14px;}
  .event-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px;}
  @media (max-width:480px){.event-actions .btn{width:100%;justify-content:center;}}
  .event-image{margin:0;}
  .event-image img{
    width:100%;border-radius:16px;border:1px solid var(--line);box-shadow:var(--shadow);
  }

  /* Gallery: the section as a link */
  .cap-cat{text-decoration:none;}
  .cap-cat:hover{background:rgba(var(--pine-2-rgb),.2);}
  .start-gallery{columns:4 200px;}

  .category-admin{
    margin-top:44px;padding:26px;background:var(--card);
    border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);
  }
  .category-admin h2{font-size:19px;margin:0 0 16px;}
  .category-form{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-bottom:14px;}
  .category-form label{margin-bottom:6px;}
  .category-form input{width:auto;min-width:220px;}

  /* The ways from the start page into the sections */
  .routes{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;}
  .route{
    display:block;padding:26px;background:var(--card);border:1px solid var(--line);
    border-radius:var(--radius);box-shadow:var(--shadow);text-decoration:none;color:inherit;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .route:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);}
  .route h2{font-size:20px;margin:0 0 8px;color:var(--pine);}
  .route p{margin:0;font-size:15.5px;color:var(--ink-soft);}

  .partner-promo{
    margin-top:48px;padding:30px;border-radius:18px;
    background:rgba(var(--pine-2-rgb),.07);border:1px solid var(--line);
  }
  .partner-promo h2{font-size:21px;margin:0 0 10px;}
  .partner-promo p{margin:0;font-size:16.5px;color:var(--ink-soft);}

  /* Legal texts */
  .legal-text h2{font-size:20px;margin:30px 0 10px;color:var(--pine);}
  .legal-text h2:first-child{margin-top:0;}
  .legal-text p{font-size:17px;color:var(--ink-soft);margin:0 0 12px;}

  /* The pager */
  .pager{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:32px;justify-content:center;}
  .pager a, .pager span{
    display:inline-flex;align-items:center;justify-content:center;
    min-width:40px;height:40px;padding:0 12px;border-radius:9px;
    font-size:15.5px;font-weight:600;text-decoration:none;
  }
  .pager a{background:var(--card);border:1px solid var(--line);color:var(--ink-soft);}
  .pager a:hover{border-color:var(--pine-2);color:var(--pine);}
  .pager .current{background:var(--pine);color:#fff;}
  .pager .off{color:var(--ink-soft);opacity:.4;}


  /* The account overview */
  .account-boxes{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;}
  @media (max-width:800px){.account-boxes{grid-template-columns:1fr;}}
  .account-boxes .panel{margin-top:0;}
  .account-boxes h2{font-size:20px;margin:0 0 4px;}
  .account-boxes code{
    font-family:var(--mono);font-size:13.5px;
    background:rgba(var(--ink-rgb),.07);padding:2px 6px;border-radius:4px;
  }
  .route p a{color:var(--pine);}

  /* The map only after consent */
  .map-optin{
    display:flex;align-items:center;justify-content:center;
    background:
      repeating-linear-gradient(45deg, rgba(var(--pine-2-rgb),.05) 0 12px, transparent 12px 24px),
      var(--card);
  }
  .map-hint{
    max-width:360px;text-align:center;padding:32px 26px;
  }
  .map-icon{
    width:40px;height:40px;margin:0 auto 12px;display:block;
    fill:none;stroke:var(--pine-2);stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;
  }
  .map-hint h3{margin:0 0 8px;font-size:18px;}
  .map-hint p{font-size:15px;color:var(--ink-soft);margin:0 0 18px;}
  .map-plain-link{font-size:14px;margin:16px 0 0 !important;}
  .map-plain-link a{color:var(--pine);}

  /* ============ THE ADMINISTRATION AREA ============ */
  .admin-tabs{
    display:flex;gap:8px;flex-wrap:wrap;margin-top:20px;
  }
  .admin-tabs a{
    padding:9px 16px;border-radius:20px;border:1px solid var(--line);
    background:var(--card);text-decoration:none;font-size:15.5px;font-weight:600;
    color:var(--ink-soft);
  }
  .admin-tabs a:hover{border-color:var(--pine-2);color:var(--pine);}
  .admin-tabs a.current{background:var(--pine);color:#fff;border-color:var(--pine);}
  .admin-tabs a.sign-out{margin-left:auto;color:var(--brick);}

  .figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;}
  .figure-card{
    display:flex;align-items:center;gap:16px;padding:22px 24px;
    background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
    box-shadow:var(--shadow);text-decoration:none;color:inherit;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .figure-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);}
  .figure-number{font-family:var(--serif);font-size:38px;font-weight:700;line-height:1;color:var(--pine);}
  .figure-label{font-size:16px;font-weight:600;}
  .figure-label small{font-weight:400;color:var(--ink-soft);font-size:14px;}

  .admin-head{
    display:flex;justify-content:space-between;align-items:center;
    gap:18px;flex-wrap:wrap;margin-bottom:24px;
  }
  .admin-head .hint{margin:0;font-size:16px;color:var(--ink-soft);}
  .admin-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;}
  @media (max-width:560px){
    .admin-actions{width:100%;}
    .admin-actions .btn{width:100%;justify-content:center;}
  }

  table.admin-table{width:100%;border-collapse:collapse;font-size:16px;min-width:720px;}
  table.admin-table th{
    text-align:left;padding:10px 12px;font-family:var(--mono);font-size:12px;
    letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft);
    border-bottom:1px solid var(--line);
  }
  table.admin-table td{padding:14px 12px;border-top:1px solid var(--line);vertical-align:middle;}
  table.admin-table tr.is-old td{color:var(--ink-soft);}
  table.admin-table .mono{font-family:var(--mono);font-size:14px;}
  table.admin-table .rechts{text-align:right;white-space:nowrap;}
  table.admin-table .rechts .link-btn{margin-left:14px;}
  table.admin-table img.mini{
    width:54px;height:40px;object-fit:contain;border-radius:5px;background:var(--paper-2);
  }
  .badge{
    display:inline-block;font-family:var(--mono);font-size:12px;
    padding:3px 10px;border-radius:20px;background:rgba(var(--pine-2-rgb),.14);color:var(--pine);
  }
  .badge.old{background:rgba(var(--ink-rgb),.08);color:var(--ink-soft);}

  .admin-grid{
    display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px;
  }
  .admin-image{
    margin:0;background:var(--card);border:1px solid var(--line);
    border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);
  }
  .admin-image img{width:100%;height:130px;object-fit:cover;display:block;background:var(--paper-2);}
  .admin-image figcaption{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px;}
  .admin-image-title{font-weight:600;font-size:15px;}
  .admin-image-meta{font-size:13px;color:var(--ink-soft);}

  /* Editing text */
  .text-form{margin-top:26px;}
  .text-field{
    background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
    padding:22px 24px;margin-bottom:20px;box-shadow:var(--shadow);
  }
  .text-field.changed{border-left:4px solid var(--pine-2);}
  .tf-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:10px;}
  .tf-head label{margin:0;font-size:16px;font-weight:600;color:var(--ink);
    text-transform:none;letter-spacing:0;font-family:var(--sans);}
  .tf-key{font-family:var(--mono);font-size:12px;color:var(--ink-soft);}
  .text-field .hint{margin:8px 0 0;font-size:13.5px;}
  .mono-field{font-family:var(--mono);font-size:14px;line-height:1.6;}
  .tf-default{margin-top:12px;}
  .tf-default summary{
    cursor:pointer;font-size:14px;color:var(--ink-soft);
  }
  .tf-default pre{
    margin:10px 0 0;padding:14px;background:var(--paper-2);border-radius:8px;
    font-family:var(--mono);font-size:13px;white-space:pre-wrap;
    max-height:260px;overflow:auto;color:var(--ink-soft);
  }
  .text-actions{position:sticky;bottom:0;background:var(--paper);
    padding:16px 0;border-top:1px solid var(--line);margin-top:0;}

  /* ============ DRAFT AND PREVIEW ============ */
  .draft-bar{
    display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;
    background:rgba(var(--pine-2-rgb),.10);border:1px solid var(--pine-2);
    border-radius:var(--radius);padding:20px 24px;margin-bottom:26px;
  }
  .draft-bar strong{display:block;font-size:17px;}
  .draft-bar p{margin:4px 0 0;font-size:15px;color:var(--ink-soft);}
  .draft-bar-buttons{display:flex;gap:14px;align-items:center;flex-wrap:wrap;}
  @media (max-width:640px){
    .draft-bar-buttons{width:100%;}
    .draft-bar-buttons .btn{flex:1;justify-content:center;}
  }

  /* The rights of one account — the list of ticks in the user administration */
  .rights-block{
    border:1px solid var(--line);border-radius:var(--radius);
    padding:20px 22px;margin:22px 0 6px;
  }
  .rights-block legend{
    padding:0 8px;font-weight:600;font-size:16px;
  }
  .rights-group + .rights-group{margin-top:20px;}
  .rights-group h3{
    margin:0 0 10px;font-size:14px;letter-spacing:.08em;text-transform:uppercase;
    color:var(--ink-soft);
  }
  .rights-group .check-box{
    align-items:flex-start;gap:11px;padding:9px 0;
    border-top:1px solid var(--line);
  }
  .rights-group .check-box:first-of-type{border-top:0;}
  .rights-group .check-box input{margin-top:3px;}
  .rights-group .check-box small{color:var(--ink-soft);font-size:14px;}

  .rights-list{
    list-style:none;margin:12px 0 0;padding:0;
    columns:2;column-gap:26px;font-size:15px;
  }
  .rights-list li{padding:3px 0;break-inside:avoid;}
  @media (max-width:640px){ .rights-list{columns:1;} }

  /* The obscured mail address, until the script replaces it */
  .mail-guard{
    font-family:var(--mono);font-size:.95em;
    color:var(--ink-soft);word-break:break-word;
  }

  /* The bank details in the legal notice */
  dl.bank-details{
    display:grid;grid-template-columns:auto 1fr;gap:6px 20px;
    margin:14px 0 10px;font-size:16.5px;
  }
  dl.bank-details dt{color:var(--ink-soft);}
  dl.bank-details dd{margin:0;}
  dl.bank-details dd.mono{font-family:var(--mono);letter-spacing:.02em;}
  @media (max-width:520px){
    dl.bank-details{grid-template-columns:1fr;gap:2px;}
    dl.bank-details dd{margin:0 0 10px;}
  }

  .preview-bar{
    position:fixed;left:0;right:0;bottom:0;z-index:150;
    background:var(--pine);color:var(--paper);
    box-shadow:0 -8px 30px -12px rgba(0,0,0,.5);
  }
  .preview-bar-inner{
    max-width:1100px;margin:0 auto;padding:14px 24px;
    display:flex;align-items:center;gap:18px;flex-wrap:wrap;
  }
  .preview-badge{
    font-family:var(--mono);font-size:12px;font-weight:700;letter-spacing:.1em;
    text-transform:uppercase;background:rgba(255,255,255,.18);
    padding:5px 12px;border-radius:20px;flex-shrink:0;
  }
  .preview-bar-inner p{margin:0;flex:1;min-width:220px;font-size:15px;color:rgba(var(--paper-rgb),.9);}
  .preview-bar-buttons{display:flex;gap:12px;flex-shrink:0;}
  .preview-bar-buttons .btn-ghost{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.4);color:var(--paper);}
  /* On the coloured bar the main button needs the contrast the other way round */
  .preview-bar-buttons .btn-primary{background:var(--paper);color:var(--pine);border-color:var(--paper);}
  .preview-bar-buttons .btn-primary:hover{background:#fff;color:var(--ink);}
  @media (max-width:600px){
    .preview-bar-inner{padding:12px 16px;gap:12px;}
    .preview-bar-buttons{width:100%;}
    .preview-bar-buttons .btn{flex:1;justify-content:center;}
  }
  body:has(.preview-bar){padding-bottom:96px;}

  /* Colour fields */
  .color-row{display:flex;align-items:center;gap:14px;}
  .color-picker{
    width:56px;height:44px;padding:2px;border:1px solid var(--line);
    border-radius:8px;background:var(--card);cursor:pointer;flex-shrink:0;
  }
  .color-value{
    width:150px;flex:0 0 auto;font-family:var(--mono);font-size:15px;text-transform:uppercase;
  }
  .color-default{
    width:34px;height:34px;border-radius:7px;border:1px solid var(--line);
    flex-shrink:0;
  }

  /* Picture fields */
  .image-row{display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap;}
  .image-preview{
    width:120px;height:96px;display:flex;align-items:center;justify-content:center;
    background:var(--paper-2);border:1px solid var(--line);border-radius:10px;
    padding:8px;flex-shrink:0;
  }
  .image-preview img{max-width:100%;max-height:100%;object-fit:contain;}
  .image-controls{flex:1;min-width:240px;}
  .image-controls .check-box{margin-top:10px;}

  .group-hint{
    background:var(--card);border-left:4px solid var(--pine-2);
    padding:14px 18px;border-radius:8px;font-size:15.5px;color:var(--ink-soft);
    margin:0 0 24px;
  }

  /* The document page */
  .document-pdf{margin:0 0 30px;}
  .legal-text h3{
    font-size:19px;margin:28px 0 8px;color:var(--pine);
    padding-top:16px;border-top:1px solid var(--line);
  }
  .legal-text h3:first-child{margin-top:0;padding-top:0;border-top:none;}
  .legal-text ol, .legal-text ul{
    font-size:17px;color:var(--ink-soft);margin:0 0 14px;padding-left:24px;
  }
  .legal-text li{margin-bottom:6px;}

  /* Lists that carry their own markers (a, b, c) in the text already */
  .legal-text ul.alpha{list-style:none;padding-left:0;}
  .legal-text ul.alpha li{
    padding-left:1.9em;text-indent:-1.9em;margin-bottom:8px;
  }

  .profile-hint{
    margin:34px 0 0;padding:16px 20px;border-left:4px solid var(--pine-2);
    background:var(--card);border-radius:8px;font-size:16.5px;color:var(--ink-soft);
  }

  /* ============ ADMINISTRATION: NAVIGATION ============ */
  /* As a quiet column at the right edge, not as a row of buttons. */

  .admin-nav{
    background:var(--card);border:1px solid var(--line);
    border-radius:var(--radius);box-shadow:var(--shadow);
    padding:20px 22px;
  }
  .nav-group{display:flex;flex-direction:column;gap:1px;margin-bottom:20px;}
  .nav-group:last-of-type{margin-bottom:0;}
  .nav-title{
    font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;
    text-transform:uppercase;color:var(--ink-soft);
    padding-bottom:6px;margin-bottom:4px;border-bottom:1px solid var(--line);
  }
  .nav-group a{
    font-size:15.5px;color:var(--ink-soft);text-decoration:none;
    padding:5px 10px;margin:0 -10px;border-radius:7px;line-height:1.3;
  }
  .nav-group a:hover{background:var(--paper-2);color:var(--pine);}
  .nav-group a.current{
    background:rgba(var(--pine-2-rgb),.12);color:var(--pine);font-weight:600;
  }
  .nav-group a.sign-out{color:var(--brick);}
  .nav-group.nav-end{
    margin-top:22px;padding-top:16px;border-top:1px solid var(--line);
  }

  /* From enough width on, the column stands fixed at the edge with */
  @media (min-width:1120px){
    .is-admin main{padding-right:262px;}
    .admin-nav{
      position:fixed;top:96px;right:26px;width:214px;z-index:40;
      max-height:calc(100vh - 130px);overflow-y:auto;
    }
    .is-admin .page-head .admin-nav{margin-top:0;}
  }

  /* Below that it runs along in the flow of the text — the groups then
     side by side, so that sixteen links one under another do not pull
     the page apart. */
  @media (max-width:1119px){
    .admin-nav{
      margin-top:22px;display:grid;gap:6px 28px;
      grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
      align-items:start;
    }
    .nav-group{margin-bottom:10px;}
    .nav-group.nav-end{
      margin-top:0;padding-top:0;border-top:none;
      align-self:end;
    }
  }
  @media (max-width:460px){
    .admin-nav{grid-template-columns:1fr 1fr;gap:4px 18px;padding:16px 18px;}
  }

  /* ============ MODULES ============ */
  .module-area{
    font-size:19px;margin:34px 0 14px;padding-bottom:8px;
    border-bottom:1px solid var(--line);
  }
  .module-area:first-of-type{margin-top:8px;}
  .module-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:18px;}
  .module{
    background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
    padding:20px 22px;box-shadow:var(--shadow);
    border-left:4px solid rgba(var(--ink-rgb),.14);
  }
  .module.is-on{border-left-color:var(--pine-2);}
  .module.is-fixed{border-left-color:var(--ink-soft);}
  .module-head{display:flex;align-items:center;justify-content:space-between;gap:14px;}
  .module-head h3{margin:0;font-size:17.5px;}
  .module-purpose{margin:10px 0 0;font-size:15.5px;color:var(--ink-soft);}
  .module-details{
    margin:12px 0 0;font-size:13px;color:var(--ink-soft);
    display:flex;gap:14px;flex-wrap:wrap;
  }
  .module-part{display:inline-block;}
  .module-details code{
    font-family:var(--mono);font-size:12.5px;
    background:rgba(var(--ink-rgb),.07);padding:1px 6px;border-radius:4px;
  }

  /* On/off switches */
  .switch{display:inline-flex;align-items:center;gap:9px;cursor:pointer;flex-shrink:0;}
  .switch input{position:absolute;opacity:0;width:0;height:0;}
  .switch-track{
    width:46px;height:26px;border-radius:13px;background:rgba(var(--ink-rgb),.20);
    position:relative;transition:background .2s ease;flex-shrink:0;
  }
  .switch-track::after{
    content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;
    border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);
    transition:transform .2s ease;
  }
  .switch input:checked + .switch-track{background:var(--pine-2);}
  .switch input:checked + .switch-track::after{transform:translateX(20px);}
  .switch input:focus-visible + .switch-track{outline:2px solid var(--pine);outline-offset:2px;}
  .switch-label{
    font-family:var(--mono);font-size:12.5px;font-weight:700;
    text-transform:uppercase;color:var(--ink-soft);min-width:24px;
  }

  /* That page without the box of facts */
  .profile-grid.no-box{grid-template-columns:1fr;max-width:76ch;}

  /* ============ WEATHER ============ */
  .weather{padding:26px 0 0;}
  .weather-box{
    display:flex;align-items:center;gap:34px;flex-wrap:wrap;
    background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
    padding:22px 26px;box-shadow:var(--shadow);
  }
  .weather-now{display:flex;align-items:center;gap:18px;flex-shrink:0;}
  .weather-icon{
    width:52px;height:52px;flex-shrink:0;
    fill:none;stroke:var(--pine-2);stroke-width:1.6;
    stroke-linecap:round;stroke-linejoin:round;
  }
  .weather-values{display:flex;flex-direction:column;line-height:1.25;}
  .weather-degrees{
    font-family:var(--serif);font-size:34px;font-weight:700;color:var(--ink);
  }
  .weather-state{font-size:16px;color:var(--ink-soft);}
  .weather-place{
    font-family:var(--mono);font-size:11.5px;letter-spacing:.09em;
    text-transform:uppercase;color:var(--ink-soft);margin-top:4px;
  }

  .weather-days{
    display:flex;gap:8px;flex-wrap:wrap;margin-left:auto;
  }
  .weather-day{
    display:flex;flex-direction:column;align-items:center;gap:5px;
    min-width:72px;padding:10px 12px;border-radius:10px;
    background:var(--paper-2);
  }
  .weather-day .weather-icon{width:28px;height:28px;stroke-width:1.7;}
  .weather-name{
    font-family:var(--mono);font-size:11.5px;font-weight:700;
    text-transform:uppercase;color:var(--ink-soft);
  }
  .weather-temp{font-size:14px;color:var(--ink-soft);white-space:nowrap;}
  .weather-temp strong{color:var(--ink);font-weight:600;}

  .weather-source{
    margin:10px 0 0;font-size:12.5px;color:var(--ink-soft);text-align:right;
  }

  @media (max-width:760px){
    .weather-box{gap:20px;padding:18px 20px;}
    .weather-days{margin-left:0;width:100%;justify-content:space-between;}
    .weather-day{flex:1;min-width:0;padding:10px 6px;}
  }
  @media (max-width:420px){
    .weather-degrees{font-size:29px;}
    .weather-icon{width:44px;height:44px;}
  }

  /* The note pointing at the event feed */
  .feed-hint{
    display:flex;align-items:center;gap:10px;
    margin:44px 0 0;padding-top:20px;border-top:1px solid var(--line);
    font-size:15px;color:var(--ink-soft);
  }
  .feed-icon{
    width:18px;height:18px;flex-shrink:0;
    fill:none;stroke:var(--pine-2);stroke-width:2;
    stroke-linecap:round;stroke-linejoin:round;
  }
  .feed-icon circle{fill:var(--pine-2);stroke:none;}

  /* ============ THE NOTICE BAND ============ */
  .announcement{background:var(--pine);color:var(--paper);}
  .announcement.is-urgent{background:var(--error);}
  .ank-inner{
    display:flex;align-items:center;gap:16px;flex-wrap:wrap;
    padding:11px 24px;font-size:15.5px;
  }
  .notice-text{flex:1;min-width:200px;}
  .ank-link{
    color:var(--paper);text-decoration:underline;text-underline-offset:3px;
    font-weight:600;white-space:nowrap;
  }
  .ank-link:hover{opacity:.85;}

  /* ============ OPENING HOURS ============ */
  .hours-box{
    background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
    padding:22px 24px;box-shadow:var(--shadow);
  }
  .facts-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;}
  .facts-head h3{margin:0;font-size:19px;}
  .open-state{
    font-family:var(--mono);font-size:12px;font-weight:700;text-transform:uppercase;
    padding:4px 11px;border-radius:20px;letter-spacing:.04em;
  }
  .open-state.is-open{background:rgba(var(--pine-2-rgb),.16);color:var(--pine);}
  .open-state.is-closed{background:rgba(var(--ink-rgb),.09);color:var(--ink-soft);}
  /* The page of a single partner. Every one of them has such a page;
     only those with a description reach the sitemap. */
  .partner-page .partner-logo{
    max-width:220px;margin:0 0 26px;background:var(--card);
    border:1px solid var(--line);border-radius:var(--radius);padding:18px;
  }
  .partner-page .partner-logo img{display:block;width:100%;height:auto;}
  .partner-page .facts-list{margin:28px 0 0;}
  .partner-actions{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0 0;}

  /* The frequent questions, on the page of their own. They stand there
     visibly because the same questions go to search engines: describing
     content the visitor cannot see counts as a violation. */
  .faq{margin:44px 0 0;}
  .faq h2{margin:0 0 18px;}
  .faq-list{margin:0;display:grid;gap:0;}
  .faq-item{
    padding:16px 0;border-top:1px solid var(--line);
  }
  .faq-item:first-child{border-top:none;padding-top:0;}
  .faq-question{margin:0 0 6px;font-weight:600;font-size:17px;color:var(--ink);}
  .faq-answer{margin:0;color:var(--ink-soft);}
  .faq-answer p{margin:0 0 8px;}
  .faq-answer p:last-child{margin-bottom:0;}

  .facts-list{margin:16px 0 0;display:grid;gap:0;}
  .facts-list > div{
    display:flex;justify-content:space-between;gap:16px;
    padding:8px 0;border-top:1px solid var(--line);font-size:16px;
  }
  .facts-list > div:first-child{border-top:none;}
  .facts-list > div.is-today{font-weight:600;}
  .facts-list > div.is-today dt::after{content:" · heute";color:var(--pine);font-weight:400;font-size:14px;}
  .facts-list dt{margin:0;color:var(--ink-soft);}
  .facts-list dd{margin:0;font-family:var(--mono);font-size:15px;}
  .facts-hint{margin:14px 0 0;font-size:14px;color:var(--ink-soft);}

  /* ============ CONTACT FORM ============ */
  .form-block{margin-top:52px;}
  .form-block h2{margin-bottom:8px;}
  .contact-form{margin-top:22px;}
  .honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}

  /* ============ SERVICES ============ */
  .services{padding:56px 0 0;}
  .services-grid{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:26px;
  }
  .service{
    background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
    padding:24px 26px;box-shadow:var(--shadow);display:flex;flex-direction:column;
  }
  .service h3{margin:0 0 10px;font-size:20px;color:var(--pine);}
  .service p{margin:0;font-size:16px;color:var(--ink-soft);flex:1;}
  .service-price{
    margin-top:16px;font-family:var(--mono);font-size:15px;font-weight:700;color:var(--ink);
  }

  /* ============ HISTORY ============ */
  .timeline-section{padding:56px 0 0;}
  .timeline{list-style:none;padding:0;margin:28px 0 0;position:relative;}
  .timeline::before{
    content:"";position:absolute;left:74px;top:6px;bottom:6px;width:2px;
    background:var(--line);
  }
  .timeline li{
    display:flex;gap:26px;align-items:flex-start;padding:0 0 26px;position:relative;
  }
  .timeline-year{
    font-family:var(--mono);font-size:15px;font-weight:700;color:var(--pine);
    width:60px;flex-shrink:0;text-align:right;padding-top:2px;
  }
  .timeline li::after{
    content:"";position:absolute;left:69px;top:8px;width:12px;height:12px;
    border-radius:50%;background:var(--pine-2);border:3px solid var(--paper);
  }
  .quote-body{padding-left:22px;}
  .quote-body strong{display:block;font-size:17.5px;margin-bottom:4px;}
  .quote-body p{margin:0;font-size:16px;color:var(--ink-soft);}
  @media (max-width:520px){
    .timeline::before{left:52px;}
    .timeline li::after{left:47px;}
    .timeline-year{width:40px;}
    .timeline li{gap:16px;}
  }

  /* ============ TESTIMONIALS ============ */
  .quotes{padding:56px 0 0;}
  .quote-grid{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:26px;
  }
  .quote{
    margin:0;background:var(--card);border:1px solid var(--line);
    border-radius:var(--radius);padding:26px;box-shadow:var(--shadow);
  }
  .quote blockquote{margin:0;}
  .quote blockquote p{
    margin:0;font-family:var(--serif);font-size:18.5px;line-height:1.55;font-style:italic;
  }
  .quote blockquote p::before{content:"„";}
  .quote blockquote p::after{content:"“";}
  .quote figcaption{
    margin-top:16px;font-size:15px;font-weight:600;
  }
  .quote figcaption span{
    display:block;font-weight:400;font-size:14px;color:var(--ink-soft);
  }

  /* ============ DOWNLOADS ============ */
  .downloads{padding:56px 0 0;}
  .download-list{list-style:none;padding:0;margin:26px 0 0;}
  .download-list li{margin-bottom:10px;}
  .download-list a{
    display:flex;align-items:center;gap:16px;text-decoration:none;color:inherit;
    background:var(--card);border:1px solid var(--line);border-radius:12px;
    padding:16px 20px;transition:border-color .2s ease, transform .2s ease;
  }
  .download-list a:hover{border-color:var(--pine-2);transform:translateX(3px);}
  .download-icon{
    width:22px;height:22px;flex-shrink:0;
    fill:none;stroke:var(--pine-2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  }
  .download-text{flex:1;min-width:0;}
  .download-text strong{display:block;font-size:16.5px;}
  .download-note{font-size:14px;color:var(--ink-soft);}
  .download-kind{
    font-family:var(--mono);font-size:12.5px;color:var(--ink-soft);
    white-space:nowrap;flex-shrink:0;
  }

  /* ============ HELP INSIDE THE ADMINISTRATION AREA ============ */
  .help-link{
    display:inline-flex;align-items:center;gap:7px;margin-top:14px;
    font-size:15px;font-weight:600;color:var(--pine);text-decoration:none;
  }
  .help-link:hover{text-decoration:underline;text-underline-offset:3px;}
  .help-link svg{
    width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;
  }


  .doc-grid{
    display:grid;grid-template-columns:250px 1fr;gap:36px;align-items:start;
    margin-top:26px;
  }
  @media (max-width:900px){.doc-grid{grid-template-columns:1fr;gap:24px;}}

  .doc-outline{
    position:sticky;top:90px;background:var(--card);border:1px solid var(--line);
    border-radius:var(--radius);padding:20px 22px;box-shadow:var(--shadow);
    max-height:calc(100vh - 120px);overflow:auto;
  }
  @media (max-width:900px){.doc-outline{position:static;max-height:320px;}}
  .doc-outline h2{font-size:16px;margin:0 0 12px;}
  .doc-outline nav{display:flex;flex-direction:column;gap:2px;}
  .doc-outline a{
    font-size:14.5px;color:var(--ink-soft);text-decoration:none;padding:3px 0;
    line-height:1.35;
  }
  .doc-outline a:hover{color:var(--pine);}
  .doc-outline a.dg-e3{padding-left:14px;font-size:13.5px;}

  .doc-body{max-width:74ch;}
  .doc-source{margin:0 0 24px;padding-bottom:16px;border-bottom:1px solid var(--line);}
  .doc-body h2{font-size:26px;margin:38px 0 12px;}
  .doc-body h2:first-of-type{margin-top:0;}
  .doc-body h3{font-size:20px;margin:30px 0 10px;color:var(--pine);}
  .doc-body h4{font-size:17px;margin:24px 0 8px;}
  .doc-body p{font-size:16.5px;color:var(--ink-soft);margin:0 0 14px;}
  .doc-body ul,.doc-body ol{font-size:16.5px;color:var(--ink-soft);margin:0 0 16px;padding-left:24px;}
  .doc-body li{margin-bottom:7px;}
  .doc-body strong{color:var(--ink);}
  .doc-body code{
    font-family:var(--mono);font-size:14px;
    background:rgba(var(--ink-rgb),.07);padding:1px 6px;border-radius:4px;
  }
  .doc-body hr{border:none;border-top:1px solid var(--line);margin:34px 0;}
  .dk-code{
    background:var(--ink);color:var(--paper-2);padding:18px 20px;border-radius:10px;
    overflow-x:auto;font-size:13.5px;line-height:1.55;margin:0 0 18px;
  }
  .dk-code code{background:none;padding:0;color:inherit;font-size:inherit;}
  .dk-tabelle{overflow-x:auto;margin:0 0 20px;}
  .dk-tabelle table{width:100%;border-collapse:collapse;font-size:15.5px;}
  .dk-tabelle th{
    text-align:left;padding:9px 12px;border-bottom:2px solid var(--line);
    font-family:var(--mono);font-size:12px;letter-spacing:.05em;
    text-transform:uppercase;color:var(--ink-soft);
  }
  .dk-tabelle td{padding:10px 12px;border-top:1px solid var(--line);color:var(--ink-soft);
    vertical-align:top;}

/* The version line and the closing line of the document page. Both come
   from the shipped default text, so they need a style of their own — an
   unstyled class in a default text is a promise the stylesheet does not
   keep. */
.doc-version{color:var(--ink-soft);font-size:15px;margin-bottom:26px;}
.doc-signature{margin-top:30px;font-style:italic;color:var(--ink-soft);}

/* The pager, the empty note and the aside note.
   Same story as the tables in admin.css: they were defined on the
   statistics page alone, while the gallery, the questions and the
   partner page used them. */
  .kpi .aside-note{font-size:14px;color:var(--ink-soft);}
  .pager-row .hint{font-size:14.5px;color:var(--ink-soft);}
  .pager{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
  .pager a, .pager span{
    display:inline-flex;align-items:center;justify-content:center;
    min-width:38px;height:38px;padding:0 11px;border-radius:9px;
    font-size:15px;font-weight:600;text-decoration:none;
  }
  .pager a{
    background:var(--card);border:1px solid var(--line);color:var(--ink-soft);
  }
  .pager a:hover{border-color:var(--pine-2);color:var(--pine);}
  .pager .current{background:var(--pine);color:#fff;}
  .pager .off{color:var(--ink-soft);opacity:.4;}
  .pager .gap{min-width:auto;padding:0 2px;color:var(--ink-soft);}
  @media (max-width:600px){
    .pager-row{justify-content:center;text-align:center;}
    .pager a, .pager span{min-width:34px;height:34px;padding:0 8px;font-size:14px;}
  }
  .empty-note{text-align:center;padding:50px 20px;color:var(--ink-soft);
    border:1px dashed var(--line);border-radius:16px;background:rgba(255,255,255,.6);}

  /* ---------------------------------------------------------------
     A picture whose number works itself out — the box of the module
     dynamicimages. The picture brings its own size along, so there is
     little to do here: keep it inside the column and let it end with
     the text around it. */
  .live-picture{margin:0;padding:70px 0;text-align:center;}
  .live-picture h2{margin:0 0 14px;}
  .live-picture img{max-width:100%;height:auto;border-radius:var(--radius);
    box-shadow:var(--shadow);}
/* ------------------------------------------------------------------
   The carousel (module carousel).

   The row is a row without a script: overflow-x plus scroll-snap make
   it scrollable with a finger, a wheel and the arrow keys, and every
   tile the server sent is in it. The script only adds the buttons and
   the dots below it — which is why their rules have to stand here and
   not in the module: the module folder is closed to browsers.

   --carousel-visible is set per carousel in the markup, so the operator
   decides how many tiles are on show. The value here is what a row
   falls back to when it names none.
   ------------------------------------------------------------------ */
.carousel-box{padding:34px 0;}
.carousel-box .carousel-title{margin:0 0 18px;}
.carousel{--carousel-visible:3;--carousel-gap:18px;position:relative;}
.carousel-track{
  display:flex;gap:var(--carousel-gap);margin:0;padding:4px 2px 14px;list-style:none;
  overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-behavior:smooth;
}
.carousel-track:focus-visible{outline:2px solid var(--pine);outline-offset:3px;}
.carousel-slide{
  flex:0 0 calc((100% - (var(--carousel-visible) - 1) * var(--carousel-gap))
                / var(--carousel-visible));
  scroll-snap-align:start;min-width:0;
}
.carousel-slide > *{height:100%;}
.carousel-nav{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:6px;}
.carousel-prev, .carousel-next{
  width:40px;height:40px;border-radius:50%;cursor:pointer;
  border:1px solid var(--line);background:var(--card);color:var(--pine);
  font-family:var(--sans);
}
.carousel-prev:hover, .carousel-next:hover{border-color:var(--pine-2);}
.carousel-prev::before{content:'\2039';font-size:22px;line-height:1;}
.carousel-next::before{content:'\203A';font-size:22px;line-height:1;}
.carousel-dots{display:flex;align-items:center;gap:7px;}
.carousel-dot{
  width:10px;height:10px;padding:0;border-radius:50%;cursor:pointer;
  border:1px solid var(--ink-soft);background:transparent;
}
.carousel-dot[aria-current]{background:var(--pine);border-color:var(--pine);}
@media (max-width:700px){
  .carousel{--carousel-visible:1;--carousel-gap:12px;}
}
/* No movement for anybody who has switched movement off. The script
   asks the same question and starts no automatic advance. */
@media (prefers-reduced-motion:reduce){
  .carousel-track{scroll-behavior:auto;}
}
/* ------------------------------------------------------------------
   Team and contacts (module team).

   The module folder is closed to browsers, so the rules of the module
   stand here. The cards carry a face, a function and one way to reach
   somebody — a photograph is the one element on such a page that a
   visitor looks at first, so it gets a fixed round shape and every card
   the same width, whatever the length of the sentence below it.

   .team-photo does double duty: an img when there is a photograph, and
   a letter in a circle when there is none. Both are the same size, so a
   row does not jump where somebody has not sent a picture yet.
   ------------------------------------------------------------------ */
.team-box{padding:60px 0;}
.team-box h2{margin:0 0 22px;}
.team-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px;
}
.team-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px 20px;box-shadow:var(--shadow);text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:10px;
}
.team-card h3{margin:0;font-size:18px;}
.team-photo{
  width:104px;height:104px;border-radius:50%;object-fit:cover;
  background:rgba(var(--pine-rgb),.10);
}
span.team-photo{
  display:grid;place-items:center;
  font-family:var(--serif);font-size:34px;font-weight:700;color:var(--pine);
}
.team-role{margin:0;font-size:14.5px;font-weight:700;color:var(--pine);}
.team-duty{margin:0;font-size:14.5px;color:var(--ink-soft);}
.team-contact{
  margin:4px 0 0;display:flex;flex-direction:column;gap:4px;
  font-size:14px;font-weight:700;
}
.team-contact a{color:var(--pine);text-decoration:none;}
.team-contact a:hover{text-decoration:underline;}
@media (max-width:520px){
  .team-grid{grid-template-columns:1fr;}

/* ------------------------------------------------------------------
   Aktuelles — the articles, their overview and one of them

   An article is read, not glanced at, so the single page is one column
   and no wider than a paragraph should be. The overview is a list of
   rows rather than a wall of tiles: the date and the opening lines are
   what somebody chooses by, and a row gives them room.

   The pager, the archive chips and the note about the feed are the ones
   the gallery and the appointments already use — nothing of that is
   written twice here.
   ------------------------------------------------------------------ */
.news-list{display:grid;gap:18px;}
.news-list-narrow{max-width:760px;}
.news-card{
  display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:start;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.news-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);}
/* A card without a picture keeps no column for one — the marker comes
   from the template, not from a selector a browser may not know. */
.news-card-plain{grid-template-columns:1fr;}
.news-card-image{display:block;height:100%;}
.news-card-image img{width:100%;height:100%;min-height:130px;object-fit:cover;display:block;}
.news-card-text{padding:16px 20px 18px;}
.news-card-title{margin:6px 0 8px;font-size:20px;line-height:1.3;}
.news-card-title a{text-decoration:none;color:var(--ink);}
.news-card-title a:hover{color:var(--pine);}
.news-date{
  font-family:var(--mono);font-size:13px;letter-spacing:.03em;
  color:var(--brick);display:block;
}
.news-teaser{margin:0;color:var(--ink-soft);font-size:16.5px;}
.news-all{margin-top:24px;}
.news-archive-title{margin:0 0 16px;}
@media (max-width:700px){
  .news-card{grid-template-columns:1fr;}
  .news-card-image img{min-height:0;max-height:220px;}
}

/* One article */
.news-page .wrap{max-width:760px;}
.news-page-head{margin:10px 0 22px;}
.news-page-head h1{margin:8px 0 10px;}
.news-image{margin:0 0 26px;border-radius:var(--radius);overflow:hidden;}
.news-image img{width:100%;display:block;}
.news-text{font-size:18.5px;}
.news-text h2, .news-text h3{margin-top:1.6em;}
.news-text img{max-width:100%;height:auto;border-radius:10px;}
.news-text blockquote{
  margin:1.4em 0;padding:2px 0 2px 18px;border-left:3px solid var(--line);
  color:var(--ink-soft);font-style:italic;
}
.news-around{
  display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;
  margin-top:34px;padding-top:18px;border-top:1px solid var(--line);

/* ------------------------------------------------------------------
   Spenden-QR — the donation code beside the bank details.

   Two sizes of the same thing. The box on a page puts the picture
   next to what the code will fill in, because somebody about to hand
   over money is entitled to read the amount without a phone. The
   brief form in the legal notice is the picture and one line, since
   the IBAN already stands above it.

   The picture keeps a white ground of its own whatever the page is
   coloured: a camera measures contrast, and a code on a tinted
   ground is a code that works on a screen and fails on a photocopy.
   ------------------------------------------------------------------ */
.girocode-box{padding:34px 0;}
.girocode-box h2{margin:0 0 10px;}
.girocode-picture{
  display:flex;flex-wrap:wrap;gap:22px;align-items:flex-start;margin:18px 0 0;
}
.girocode-picture img{
  background:#fff;padding:10px;border:1px solid var(--line);border-radius:var(--radius);
  max-width:100%;height:auto;
}
.girocode-facts{min-width:220px;flex:1 1 220px;}
.girocode-facts dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:0;}
.girocode-facts dt{color:var(--ink-soft);}
.girocode-facts dd{margin:0;}
.girocode-brief{margin:18px 0 0;max-width:240px;}
.girocode-brief img{
  background:#fff;padding:8px;border:1px solid var(--line);border-radius:var(--radius);
  max-width:100%;height:auto;
}
.girocode-brief figcaption{margin-top:6px;color:var(--ink-soft);font-size:14px;}
.girocode-admin{display:flex;flex-wrap:wrap;gap:26px;align-items:flex-start;}
.girocode-record{
  font-family:var(--mono);font-size:13px;white-space:pre-wrap;word-break:break-all;
  padding:12px;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--paper-2);
}
.girocode-problems{margin:10px 0 0;padding-left:20px;}
@media (max-width:700px){
  .girocode-picture{gap:14px;}
}

  /* ---------------------------------------------------------------
     The search: the field above the page, and the result list. The
     field is one row that wraps rather than shrinks — a search field
     narrower than a word is worse than none. */
  .search-banner{padding:10px 0;border-bottom:1px solid var(--line);
    background:var(--paper-2);}
  .search-banner form{display:flex;gap:8px;flex-wrap:wrap;align-items:center;
    max-width:1100px;margin:0 auto;padding:0 20px;}
  .search-banner input{flex:1 1 200px;min-width:0;padding:8px 12px;
    border:1px solid var(--line);border-radius:8px;font:inherit;}
  .search-banner button{padding:8px 16px;border:none;border-radius:8px;
    background:var(--pine);color:#fff;font:inherit;font-weight:700;cursor:pointer;}
  /* Read aloud, not seen: a field whose label is only a placeholder is
     unusable with a screen reader, and a placeholder is gone the moment
     somebody types. */
  .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;
    overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}
  .search-page{padding:70px 0;}
  .search-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center;
    margin:0 0 28px;}
  .search-form label{flex:0 0 auto;font-weight:700;}
  .search-form input{flex:1 1 240px;min-width:0;padding:10px 14px;
    border:1px solid var(--line);border-radius:10px;font:inherit;}
  .search-results{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:18px;}
  .search-results > li{padding:16px 18px;border:1px solid var(--line);
    border-radius:12px;background:var(--card);box-shadow:var(--shadow);}
  .search-results a{font-weight:700;font-size:17px;}
  .search-results p{margin:6px 0 0;color:var(--ink-soft);}

  /* ---------------------------------------------------------------
     The menu card. A price is read by its last digit, so the rows are
     a description list with the price flush right — not a table,
     which on a phone would have to scroll sideways. */
  .menu-card{padding:70px 0;}
  .menu-group{margin:0 0 36px;}
  .menu-group h2{margin:0 0 6px;}
  .menu-dishes{margin:14px 0 0;padding:0;display:grid;
    grid-template-columns:1fr auto;gap:6px 18px;align-items:baseline;}
  .menu-dishes dt{margin:0;}
  .menu-dishes dd{margin:0;text-align:right;font-family:var(--mono);
    font-weight:700;white-space:nowrap;}
  .menu-name{font-weight:700;}
  .menu-marks{font-family:var(--mono);font-size:11px;color:var(--ink-soft);
    margin-left:4px;}
  .menu-what{display:block;color:var(--ink-soft);font-size:15px;}
  .menu-legend{margin:40px 0 0;padding:20px 22px;border:1px solid var(--line);
    border-radius:12px;background:var(--paper-2);}
  .menu-legend h2{margin:0 0 10px;font-size:18px;}
  .menu-legend ul{margin:0;padding:0;list-style:none;columns:2;column-gap:28px;
    font-size:15px;}
  .menu-legend li{margin:0 0 4px;break-inside:avoid;}
  @media (max-width:600px){ .menu-legend ul{columns:1;} }

  /* ---------------------------------------------------------------
     The helpers' rota. Each shift is a card with its state in the
     corner, because the state is what somebody looks for first — and
     the form is inside the card, so nobody signs up for the shift
     above the one they read. */
  .rota{padding:70px 0;}
  .rota-list{list-style:none;margin:0;padding:0;display:grid;gap:20px;}
  .rota-list > li{padding:18px 20px;border:1px solid var(--line);border-radius:12px;
    background:var(--card);box-shadow:var(--shadow);}
  .rota-head{display:flex;gap:12px;align-items:baseline;justify-content:space-between;
    flex-wrap:wrap;}
  .rota-head h2{margin:0;font-size:19px;}
  .rota-when{margin:4px 0 0;font-family:var(--mono);font-size:14px;
    color:var(--ink-soft);}
  .rota-helpers{margin:10px 0 0;font-weight:700;}
  .rota-form{margin:14px 0 0;display:grid;gap:8px;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end;}
  .rota-form label{font-size:14px;font-weight:700;}
  .rota-form input{width:100%;padding:9px 12px;border:1px solid var(--line);
    border-radius:8px;font:inherit;}
  .rota-word, .rota-off{margin:24px 0 0;display:flex;gap:10px;flex-wrap:wrap;
    align-items:end;}
  .rota-word input, .rota-off input{padding:9px 12px;border:1px solid var(--line);
    border-radius:8px;font:inherit;}

  /* ---------------------------------------------------------------
     Registering. The state above the form, because „three places
     left" changes whether somebody fills it in at all. */
  .signup{padding:70px 0;}
  .signup-state{font-weight:700;margin:0 0 18px;}
  .signup-form, .signup-off{display:grid;gap:10px;max-width:560px;}
  .signup-form label, .signup-off label{font-weight:700;font-size:15px;}
  .signup-form input, .signup-off input{width:100%;padding:10px 12px;
    border:1px solid var(--line);border-radius:8px;font:inherit;}
  .signup-off{margin:32px 0 0;padding:18px 0 0;border-top:1px solid var(--line);}

  /* A box somebody ticks on a public form — the consent for a health
     question, say. The label wraps beside the box and stays clickable
     across its whole width. */
  .check-box{display:flex;align-items:flex-start;gap:10px;font-size:15px;
    line-height:1.5;cursor:pointer;}
  .check-box input{width:auto;margin-top:3px;flex:0 0 auto;}

  /* ---------------------------------------------------------------
     Bookings. The calendar is the point of the page, so it comes
     before the form: whoever sees that the Saturday is gone does not
     fill anything in.

     Twelve weeks as small squares rather than a month grid. A month
     grid needs a heading per month, a weekday row and empty cells at
     both ends, and it answers one question worse than a run of days
     does: is my weekend free. */
  .booking{padding:70px 0;}
  .booking-card{padding:18px 20px;margin:0 0 20px;border:1px solid var(--line);
    border-radius:12px;background:var(--card);box-shadow:var(--shadow);}
  .booking-card h2{margin:0 0 6px;}
  .booking-fee{margin:6px 0 0;font-weight:700;color:var(--pine);}
  .booking-days{list-style:none;margin:14px 0 0;padding:0;display:flex;
    flex-wrap:wrap;gap:4px;}
  .booking-day{width:34px;padding:4px 0;border:1px solid var(--line);
    border-radius:6px;background:var(--paper);text-align:center;font-size:11px;
    line-height:1.3;color:var(--ink-soft);}
  /* Taken days carry the colour and a pattern: colour alone leaves
     whoever cannot tell these two apart with an empty calendar. */
  .booking-day.is-taken{background:rgba(var(--pine-2-rgb),.16);
    border-color:var(--pine-2);color:var(--pine);font-weight:700;
    background-image:repeating-linear-gradient(45deg,
      rgba(var(--pine-2-rgb),.18) 0 3px, transparent 3px 6px);}
  .booking-day-date{display:block;}

  /* ---------------------------------------------------------------
     Announcements. What hangs is shown in full: one that has to be
     clicked open is one somebody can say they did not see. The period
     stands in the text and not only in an attribute — that sentence is
     what the whole thing exists for. */
  .bulletin{padding:70px 0;}
  .bulletin-notice{padding:22px 24px;margin:0 0 24px;border:1px solid var(--line);
    border-left:4px solid var(--pine-2);border-radius:12px;background:var(--card);
    box-shadow:var(--shadow);}
  .bulletin-notice h2{margin:2px 0 6px;}
  .bulletin-kind{margin:0;font-size:13px;font-weight:700;letter-spacing:.04em;
    text-transform:uppercase;color:var(--pine);}
  .bulletin-when{margin:0 0 14px;font-size:15px;color:var(--ink-soft);}
  .bulletin-text > :first-child{margin-top:0;}
  .bulletin-text > :last-child{margin-bottom:0;}
  .bulletin-archive-head{margin:48px 0 18px;}
  .bulletin-archive{list-style:none;margin:0;padding:0;display:grid;gap:18px;}
  .bulletin-archive > li{padding:16px 18px;border:1px solid var(--line);
    border-radius:10px;background:var(--paper-2);}

  /* ---------------------------------------------------------------
     The accessibility declaration. Running text with headings, and a
     short form at the end — of all pages this is the one that has to
     be plain. */
  .a11y{padding:70px 0;}
  .a11y h2{margin:34px 0 10px;}
  .a11y p{max-width:70ch;}
