:root { color-scheme: light; --logo-blue: #acd2de; --logo-ink: #111111; --ink: #303e47; --muted: #647078; --blue: #40647c; --earth: #766450; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; background: radial-gradient(ellipse at 15% 0%, #f8f5ee, transparent 60%), linear-gradient(135deg, #e9ecee, #f4f2ed 60%, #dde4e8); color: var(--ink); font: 16px/1.6 Arial, sans-serif; }
main { max-width: 960px; margin: auto; padding: clamp(20px, 4vw, 48px) 24px 36px; }
.logo { display: block; width: 100%; height: auto; overflow: visible; }
.logo text { font-family: Arial, sans-serif; font-weight: 700; font-size: 100px; }
.gestalt { fill: var(--logo-ink); }
.it { fill: var(--logo-blue); }
.signature { text-align: center; margin: 0 auto; }
.signature h1 { margin: 0 0 14px; font-size: clamp(24px, 4vw, 36px); font-weight: 400; }
.signature p { margin: 0; font-size: clamp(16px, 2.2vw, 20px); line-height: 1.6; text-wrap: balance; }
.logo-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.logo-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 44px 0 24px; align-items: start; }
.tile { --accent: var(--blue); --surface: linear-gradient(145deg, #fafbfbe6, #dce1e4 48%, #edf0f1 75%, #d5dce1); min-width: 0; perspective: 1200px; }
.tile.therapy { --accent: var(--earth); --surface: linear-gradient(145deg, #faf8f4, #e3e0da 48%, #f1efeb 75%, #dcd8d0); }
/* Beide Seiten belegen dieselbe Grid-Zelle und bestimmen gemeinsam die feste Kartengröße. */
.tile-inner { display: grid; min-height: 300px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.tile.is-flipped .tile-inner { transform: rotateY(180deg); }
.tile-face { grid-area: 1 / 1; min-width: 0; border: 1px solid #fff9; border-radius: 20px; background: var(--surface); box-shadow: 12px 18px 32px #4a5c6a18, inset 1px 1px 0 #fff, inset -1px -1px 0 #7a899522; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tile-front { position: relative; padding: 32px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.tile-open { position: absolute; inset: 0; width: 100%; border: 0; border-radius: inherit; padding: 0; background: transparent; color: var(--accent); cursor: pointer; }
.tile-back { transform: rotateY(180deg); display: flex; flex-direction: column; padding: 20px 28px 28px; gap: 14px; }
.tile-close { align-self: flex-end; padding: 4px 0 4px 12px; border: 0; background: transparent; color: var(--accent); font: inherit; font-size: .85rem; cursor: pointer; }
h2, .content { overflow-wrap: anywhere; }
.icon { width: 62px; height: 62px; stroke: var(--accent); fill: none; stroke-width: 1.2; filter: drop-shadow(1px 2px 0 #fff); transition: transform .3s ease; }
h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 550; letter-spacing: -.025em; margin: 0; text-shadow: 1px 2px 0 #fffc, -1px -1px 0 #8f9ba31a; }
.toggle { position: absolute; right: 22px; top: 18px; font-size: 1.5rem; font-weight: 300; }
.content { margin: auto 0; }
.content p { margin: 0 0 22px; color: #515d65; }
.links { display: grid; gap: 10px; }
a { color: var(--accent, var(--blue)); text-underline-offset: 4px; }
.primary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid #a4adb64d; border-radius: 9px; background: #ffffff70; text-decoration: none; font-weight: 550; }
.primary:hover { background: #fff; }
.tile button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: -5px; border-radius: 9px; }
footer { padding-top: 36px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; }
.footer-note { max-width: 430px; }
@media (hover: hover) { .tile-front:has(.tile-open:hover) .icon { transform: translateY(-5px); } .tile-close:hover { text-decoration: underline; } }
@media (max-width: 620px) { main { padding: 20px 16px 28px; } .tiles { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; } .tile-inner { min-height: 300px; } .tile-back { padding: 18px 22px 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
