/* ki-workshop.group: the Bauhaus teaching sheet (CLAUDE.md, "Look").
   Off-white paper, ink, and the three primaries used flat and sparingly.
   One geometric sans from the system (Futura, Century Gothic). Asymmetric
   layout on a 12-column grid, held by heavy black bars. Circle, square and
   triangle are the only shapes. No gradients, shadows, rounded corners,
   opacity, icons or web fonts. */
:root{
  --paper:#F2EFE7; --ink:#141414; --soft:#4A4740;
  --red:#C8352A; --yellow:#F2C11C; --blue:#1F4C9A;
  --geo:Futura,"Futura PT","Century Gothic","URW Gothic","URW Gothic L","TeX Gyre Adventor",sans-serif;
}
*{box-sizing:border-box; margin:0; padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--paper); color:var(--ink); font-family:var(--geo); font-size:19px; line-height:1.55;
     -webkit-font-smoothing:antialiased}
p,li,dd,figcaption{hyphens:auto; -webkit-hyphens:auto}
h1,h2,h3{font-weight:700; overflow-wrap:break-word}
a{color:inherit; text-decoration-thickness:2px; text-underline-offset:4px}
a:hover{background:var(--yellow)}
svg{display:block}
.wrap{max-width:1200px; margin:0 auto; padding:0 32px}
.grid{display:grid; grid-template-columns:repeat(12, minmax(0, 1fr)); column-gap:24px}

/* small parts used everywhere */
.bar{display:block; width:120px; height:14px; background:var(--ink); margin-bottom:24px}
.label{display:block; font-weight:700; font-size:13px; line-height:1.4; letter-spacing:.14em; text-transform:uppercase; hyphens:manual; -webkit-hyphens:manual}
.part{padding:96px 0}
.part h2,.field h2,.call h2{font-size:clamp(32px, 4vw, 52px); line-height:1.05; letter-spacing:-.01em}
.note{margin-top:20px; font-size:16px; color:var(--soft); max-width:760px}
.more{display:inline-block; margin-top:10px; font-weight:700; font-size:16px}

/* buttons: square, ink or an ink outline */
.acts{display:flex; flex-wrap:wrap; gap:14px; margin-top:36px}
.btn{display:inline-block; padding:13px 22px; border:3px solid var(--ink); font-weight:700; font-size:16px;
     letter-spacing:.02em; text-decoration:none; line-height:1.3}
.btn-ink{background:var(--ink); color:var(--paper)}
.btn-ink:hover{background:var(--red); border-color:var(--red); color:var(--paper)}
.btn-line:hover{background:var(--yellow)}

/* masthead: a full-width bar, the mark and name, two pages, the languages, the call */
.mast{border-top:14px solid var(--ink)}
.mast-row{display:flex; align-items:center; justify-content:space-between; gap:24px; padding-top:22px; padding-bottom:22px}
.mast-name{display:inline-flex; align-items:center; font-weight:700; font-size:23px; text-decoration:none; letter-spacing:-.005em}
.mast-name svg{margin-right:12px}
.mast-name span,.foot-name span{font-weight:400}
.mast-name:hover{background:none}
.mast-nav{display:flex; align-items:center; gap:26px; font-size:16px; font-weight:700}
.mast-nav a{text-decoration:none}
.mast-nav a[aria-current]{text-decoration:underline; text-decoration-thickness:4px; text-underline-offset:7px}
.mast-nav .mast-cta{background:var(--ink); color:var(--paper); padding:10px 16px}
.mast-nav .mast-cta:hover{background:var(--red)}
/* the language switch: four ink-framed cells, the current one filled */
.langs{display:inline-flex; border:2px solid var(--ink)}
.langs a{font-size:12px; letter-spacing:.12em; line-height:1; padding:6px 7px 5px 8px}
.langs a + a{border-left:2px solid var(--ink)}
.mast-nav .langs a[aria-current]{background:var(--ink); color:var(--paper); text-decoration:none}

/* the opening: title and text on eight columns, the mark or a block beside */
.open{padding:64px 0 80px}
.open-text{grid-column:1 / span 8}
.open h1{font-size:clamp(44px, 6.6vw, 86px); line-height:1.02; letter-spacing:-.015em}
.open-text p{margin-top:30px; font-size:22px; line-height:1.5; max-width:690px}
.open-side{grid-column:9 / span 4; align-self:end}
.open-mark svg{width:100%; height:auto; max-width:380px; margin-left:auto}

/* the fact row: labels over values under a 6px rule */
.facts{padding-bottom:16px}
.facts dl{display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); column-gap:24px; border-top:6px solid var(--ink)}
.facts dl div{padding-top:16px}
.facts dd{margin-top:6px; font-weight:700; font-size:20px; line-height:1.3; hyphens:manual; -webkit-hyphens:manual}

/* the fact block in blue (KI-Schulung) */
.sheet{background:var(--blue); color:var(--paper); padding:28px 28px 30px}
.sheet dl div{padding:12px 0; border-top:2px solid var(--paper)}
.sheet dl div:first-child{border-top:0; padding-top:4px}
.sheet dt{font-weight:700; font-size:12px; letter-spacing:.14em; text-transform:uppercase}
.sheet dd{font-weight:700; font-size:20px; line-height:1.3; margin-top:2px}

/* the price square (Branchen): a red square holding the price */
.pricesq{background:var(--red); color:var(--paper); aspect-ratio:1 / 1; max-width:360px; margin-left:auto;
         padding:28px; display:flex; flex-direction:column; justify-content:space-between}
.pricesq-num{font-weight:700; font-size:clamp(52px, 6vw, 84px); line-height:1; letter-spacing:-.01em; white-space:nowrap}
.pricesq-num small{display:block; font-size:.36em; letter-spacing:.02em; margin-bottom:4px}
.pricesq ul{list-style:none; font-size:16px; line-height:1.4}
.pricesq li{hyphens:manual; -webkit-hyphens:manual}
.pricesq li + li{margin-top:4px}

/* the figure plate (tools/figures.py) */
.plate{margin-top:44px}
.plate img{display:block; width:100%; height:auto}
@media (max-width:900px){ .plate img{max-width:560px} }
.plate figcaption{margin-top:20px; padding-top:12px; border-top:6px solid var(--ink); font-size:16px; color:var(--soft)}
.plate figcaption span{display:block; max-width:760px}

/* the staircase: three steps, each set lower than the one before */
.stairs{list-style:none; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); column-gap:40px; margin-top:72px}
.stairs li:nth-child(2){margin-top:64px}
.stairs li:nth-child(3){margin-top:128px}
.stairs svg{width:52px; height:52px; margin-bottom:20px}
.stairs h3{font-size:28px; line-height:1.1}
.stairs .label{margin-top:8px}
.stairs p{margin-top:16px; font-size:18px}

/* the yellow field: a heading and one large paragraph */
.field{background:var(--yellow); padding:88px 0}
.field-head{grid-column:1 / span 4}
.field-body{grid-column:5 / span 8}
.field-body p{font-size:clamp(21px, 2.3vw, 28px); line-height:1.42}
.field-body p + p{margin-top:20px}
.field-body.small p{font-size:20px; line-height:1.55}

/* the price list: rule-topped rows, a marker, the format, what it is, the price set large */
.prices{list-style:none; margin-top:44px; border-bottom:6px solid var(--ink)}
.prices li{display:grid; grid-template-columns:52px minmax(0, 4fr) minmax(0, 6fr) clamp(220px, 22vw, 290px); column-gap:24px;
           padding:26px 0 30px; border-top:2px solid var(--ink)}
.prices li:first-child{border-top-width:6px}
.prices svg{width:36px; height:36px; margin-top:4px}
.prices h3{font-size:26px; line-height:1.15}
.prices .label{margin-top:8px}
.prices p{font-size:18px}
.price{font-weight:700; font-size:clamp(28px, 3.2vw, 42px) !important; line-height:1; text-align:right; white-space:nowrap}
.price small{display:block; margin-top:10px; font-size:12px; letter-spacing:.14em; text-transform:uppercase; white-space:normal}

/* the ink block: who teaches */
.teach-head{grid-column:1 / span 4}
.teach-block{grid-column:5 / span 8; background:var(--ink); color:var(--paper); padding:44px 48px 46px}
.teach-block p{font-size:22px; line-height:1.5; hyphens:manual; -webkit-hyphens:manual}

/* the topic grid: six topics in two rows under short bars */
.topics{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:56px 40px; margin-top:44px}
.topics div::before{content:""; display:block; width:56px; height:8px; background:var(--ink); margin-bottom:18px}
.topics h3{font-size:24px; line-height:1.15}
.topics p{margin-top:12px; font-size:18px}

/* the ruled list: rows with a small black square, set to the right */
.list-head{grid-column:1 / span 5}
.ruled{grid-column:6 / span 7; list-style:none; border-bottom:2px solid var(--ink)}
.ruled li{position:relative; padding:16px 0 18px 36px; border-top:2px solid var(--ink); font-size:19px}
.ruled li::before{content:""; position:absolute; left:0; top:25px; width:14px; height:14px; background:var(--ink)}

/* the rule box: a 6px frame, rules in two columns */
.rulebox{margin-top:56px; border:6px solid var(--ink); padding:30px 36px 34px}
.rulebox ul{list-style:none; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:22px 48px; margin-top:20px}
.rulebox li{font-size:18px}
.lead{max-width:780px; margin-top:28px}
.lead p{font-size:21px; line-height:1.5}

/* the sector table: sector and four themes, two columns */
.sectors{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:56px; margin-top:44px; border-top:6px solid var(--ink)}
.sectors div{display:grid; grid-template-columns:minmax(0, 2fr) minmax(0, 3fr); column-gap:20px; padding:20px 0 22px; border-bottom:2px solid var(--ink)}
.sectors dt{font-weight:700; font-size:22px; line-height:1.2}
.sectors ul{list-style:none}
.sectors li{font-size:18px; line-height:1.45}

/* the call: a full-width bar, a blue circle beside the text */
.call{border-top:14px solid var(--ink); padding:88px 0 104px}
.call-shape{grid-column:1 / span 4}
.call-shape svg{width:100%; max-width:300px; height:auto}
.call-text{grid-column:5 / span 7; align-self:center}
.call-text p{margin-top:22px; font-size:21px; line-height:1.5; max-width:640px}

/* foot */
.foot{border-top:6px solid var(--ink); padding:34px 0 48px; font-size:15px}
.foot-row{display:flex; flex-wrap:wrap; align-items:baseline; gap:10px 28px}
.foot-name{font-weight:700; font-size:21px}
.foot-line{font-size:16px}
.foot-links{margin-top:18px; font-weight:700}
.foot-links a,.foot-links button{color:inherit; text-decoration:none; background:none; border:0; font:inherit; cursor:pointer; padding:0}
.foot-links a:hover,.foot-links button:hover{background:var(--yellow)}
.foot-legal{margin-top:18px; font-size:13px; color:var(--soft)}

/* cookie notice */
.cc{position:fixed; left:16px; right:16px; bottom:16px; max-width:580px; margin:0 auto; background:var(--paper);
    border:4px solid var(--ink); padding:16px 18px; font-size:15px; z-index:10;
    display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px}
.cc[hidden]{display:none}
.cc p{flex:1 1 260px}
.cc-act{display:flex; gap:10px}
.cc button{font:inherit; font-weight:700; padding:8px 14px; border:3px solid var(--ink); background:var(--paper); color:var(--ink); cursor:pointer}
#cc-accept{background:var(--ink); color:var(--paper)}
.cc button:hover{background:var(--yellow); color:var(--ink)}

@media (max-width:980px){
  .open-text{grid-column:1 / -1}
  .open-side{grid-column:1 / -1; margin-top:44px}
  .open-mark svg{max-width:260px; margin-left:0}
  .pricesq{margin-left:0; max-width:320px}
  .sheet{max-width:480px}
  .facts dl{grid-template-columns:repeat(3, minmax(0, 1fr)); row-gap:18px}
  .prices li{grid-template-columns:44px minmax(0, 1fr) auto; row-gap:12px}
  .prices li > p:not(.price){grid-column:2 / -1; grid-row:2}
  .prices li > .more{grid-column:2 / -1}
  .price{grid-column:3; grid-row:1}
  .teach-head,.teach-block,.list-head,.ruled,.field-head,.field-body,.call-shape,.call-text{grid-column:1 / -1}
  .teach-head,.list-head,.field-head{margin-bottom:28px}
  .call-shape svg{max-width:180px; margin-bottom:32px}
  .topics{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .sectors{grid-template-columns:1fr}
}

@media (max-width:640px){
  body{font-size:18px}
  .wrap{padding:0 18px}
  .mast{border-top-width:10px}
  .mast-row{flex-wrap:wrap; padding-top:16px; padding-bottom:16px; gap:14px}
  .mast-name{font-size:20px}
  .mast-nav{gap:16px; font-size:15px; flex-wrap:wrap}
  .open{padding:40px 0 56px}
  .open-text p{font-size:19px; margin-top:22px}
  .open-mark svg{max-width:200px}
  .bar{width:88px; height:10px; margin-bottom:18px}
  .part{padding:64px 0}
  .field{padding:60px 0}
  .facts dl{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .facts dd{font-size:18px}
  .stairs{grid-template-columns:1fr; margin-top:48px; row-gap:44px}
  .stairs li:nth-child(2),.stairs li:nth-child(3){margin-top:0}
  .stairs li:nth-child(2){padding-left:28px}
  .stairs li:nth-child(3){padding-left:56px}
  .prices li{grid-template-columns:32px minmax(0, 1fr); column-gap:16px}
  .prices svg{width:28px; height:28px}
  .prices h3{font-size:22px}
  .price{grid-column:2; grid-row:auto; text-align:left; margin-top:4px}
  .prices li > p:not(.price){grid-row:auto}
  .teach-block{padding:28px 22px 30px}
  .teach-block p{font-size:19px}
  .topics{grid-template-columns:1fr; gap:40px}
  .ruled li{font-size:18px}
  .rulebox{padding:22px 18px 24px; border-width:5px}
  .rulebox ul{grid-template-columns:1fr; gap:16px}
  .lead p{font-size:19px}
  .sectors div{grid-template-columns:1fr; row-gap:6px}
  .call{padding:56px 0 72px; border-top-width:10px}
  .call-shape svg{max-width:140px}
  .call-text p{font-size:19px}
  .pricesq{max-width:280px; padding:22px}
}
