/* Persönliche Akzente: Papier, Fotoabzüge und handgezeichnete Details. */
:root {
  --paper: #fffaf2;
  --rose: #f5e7e9;
  --muted: #766970;
  --handwriting: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}
body { background-image: radial-gradient(#60203b0c .7px, transparent .7px); background-size: 8px 8px; }
.site-header { background: #fffdf9; border-bottom: 1px solid #60203b12; }
.brand img { transition: transform .2s ease; }
.brand:hover img { transform: rotate(-7deg); }
.button { border-radius: 999px; box-shadow: 0 4px 0 #35142119; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #35142120; }
.button:active { transform: translateY(1px); box-shadow: 0 1px 0 #35142120; }
.doodle { display: block; width: 40px; height: 40px; flex-shrink: 0; }
.hand-note { display: flex; align-items: center; gap: 10px; color: var(--wine); font-family: var(--handwriting); font-size: 19px; line-height: 1.5; margin-bottom: 28px; transform: rotate(-2deg); transform-origin: left center; }
.hand-note .doodle { width: 28px; height: 28px; }
.hand-underlined { position: relative; display: inline-block; z-index: 0; }
.hand-underlined::after { content: ''; position: absolute; inset: auto -3px -5px; height: 13px; z-index: -1; background: var(--lime); border-radius: 50% 24% 42% 30%; transform: rotate(-1.5deg); }
.eyebrow { font-weight: 600; }
.home-hero { min-height: 700px; overflow: hidden; color: var(--ink); background: transparent; display: block; padding: 54px 0 74px; }
.home-hero::after { display: none; }
.home-hero .container { padding-block: 24px; }
.home-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 50px; }
.home-hero h1 { font-size: clamp(54px, 5.4vw, 78px); line-height: 1.04; color: var(--wine); }
.home-hero .hero-copy { max-width: none; }
.home-hero .eyebrow { color: var(--wine); margin-bottom: 20px; }
.home-hero .hero-text { color: var(--muted); font-size: 19px; }
.home-hero .hand-note { color: var(--wine); }
.home-hero .button { min-width: 0; margin-top: 28px; padding-inline: 30px; }
.hero-team-link { display: flex; align-items: center; gap: 12px; color: var(--wine); font-family: var(--handwriting); font-size: 16px; margin-top: 28px; max-width: 330px; }
.hero-team-link .doodle { width: 34px; height: 34px; transform: rotate(25deg); }
.photo-frame { position: relative; margin: 0; padding: 12px 12px 0; background: white; border: 1px solid #e9deda; box-shadow: 0 12px 35px #35142113, 0 2px 3px #3514210c; border-radius: 3px; transform: rotate(1.6deg); }
.photo-frame::before { content: ''; position: absolute; width: 105px; height: 28px; top: -13px; left: calc(50% - 52px); background: #d9f09dcc; transform: rotate(-5deg); z-index: 1; border-left: 2px dashed #ffffff70; border-right: 2px dashed #ffffff70; }
.photo-frame img { width: 100%; height: 420px; object-fit: cover; border-radius: 2px; }
.photo-frame.group-frame img { height: auto; aspect-ratio: 1.5; object-fit: contain; }
.photo-frame img.leadership-photo { object-position: center 35%; }
.photo-frame figcaption { color: var(--wine); font-family: var(--handwriting); font-size: 19px; text-align: center; padding: 15px 12px 18px; }
.home-hero .photo-frame { margin-bottom: 40px; }
.home-hero .photo-frame figcaption { padding-bottom: 32px; text-align: left; }
.photo-note { position: absolute; right: 18px; bottom: -38px; display: flex; align-items: center; gap: 12px; padding: 16px 24px 17px 18px; background: #edf5cf; color: var(--wine); transform: rotate(-5deg); box-shadow: 2px 5px 12px #35142116; font-family: var(--handwriting); font-size: 17px; line-height: 1.5; text-align: left; border-radius: 1px 2px 14px 2px; }
.photo-note::after { content: ''; position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; background: linear-gradient(135deg, #cbd6a7 50%, white 51%); }
.photo-note .doodle { width: 29px; height: 29px; transform: rotate(8deg); }
.page-hero .photo-frame { width: 100%; }
.page-hero .photo-frame:not(:has(figcaption)) { padding-bottom: 12px; }
.page-hero .hero-copy { position: relative; }
.section { position: relative; }
.section > .container { position: relative; z-index: 1; }
.tone-wine { border-radius: 40px 40px 0 0; background-image: radial-gradient(#fff5df0c 1px, transparent 1px); background-size: 12px 12px; }
.tone-rose { background-image: radial-gradient(#60203b0b .8px, transparent .8px); background-size: 9px 9px; }
.section-flourish { position: absolute; right: max(30px, calc((100vw - 1300px) / 2)); top: 26px; color: var(--wine); transform: rotate(12deg); opacity: .4; pointer-events: none; }
.section-flourish .doodle { width: 72px; height: 72px; }
.tone-wine .section-flourish { color: var(--lime); opacity: .8; }
.card:not(.image-card):not(.person-card) { position: relative; padding: 0 22px 24px; border: 1px solid #e8d8de; border-radius: 22px 22px 22px 5px; background: #ffffff85; }
.card-doodle { display: block; color: var(--wine); margin-bottom: 18px; }
.card-doodle .doodle { width: 34px; height: 34px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.image-card { border-radius: 16px 16px 6px 6px; box-shadow: 0 4px 0 #35142116; }
.person-card { padding: 10px 10px 0; background: #fffdf9; border: 1px solid #e9deda; border-radius: 3px; box-shadow: 0 5px 14px #35142109; transition: transform .25s ease, box-shadow .25s ease; }
.person-card:nth-child(3n + 1) { transform: rotate(-.65deg); }
.person-card:nth-child(3n + 3) { transform: rotate(.65deg); }
.person-card:hover { transform: translateY(-5px) rotate(0deg); box-shadow: 0 12px 24px #35142114; }
.person-card > img { border-radius: 2px; }
.person-card .card-body { padding: 18px 10px 22px; }
.person-card h3 { font-family: var(--handwriting); font-size: 21px; line-height: 1.45; letter-spacing: -.045em; margin-bottom: 12px; }
.person-card .eyebrow { display: inline-block; font-family: Arial, Helvetica, sans-serif; border-radius: 30px; padding: 4px 11px; background: var(--rose); font-size: 10px; letter-spacing: .08em; margin-bottom: 8px; }
.person-card[data-category="BMHS"] .eyebrow { background: #e6efce; }
.person-card[data-category="Berufsschulen"] .eyebrow { background: #eee8d8; }
.filter-controls { background: #fffdf8; border: 1px solid #e7d9db; padding: 24px; border-radius: 20px 20px 20px 5px; }
.filter-controls .field:last-child { margin-bottom: 0; }
.content-form { background: #fffdf9; border: 1px solid #e7d9db; border-radius: 24px 24px 24px 6px; padding: 32px; box-shadow: 6px 7px 0 #60203b07; }
input, textarea, select { border-radius: 9px; }
details { border-radius: 15px 15px 15px 4px; }
.featured { border-radius: 18px; }
.site-footer { position: relative; border-top: 6px solid var(--lime); }
.footer-love { display: flex; gap: 12px; align-items: center; font-family: var(--handwriting); margin-top: 24px; font-size: 17px; }
.site-footer .footer-love { color: var(--lime); }
.footer-love .doodle { width: 25px; height: 25px; transform: rotate(-12deg); }
.page-hero { position: relative; }
.hero-grid { position: relative; z-index: 1; }
.journey-background { position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: var(--wine); }
.journey-edge { position: absolute; top: 0; height: 100%; width: 80px; opacity: .22; }
.journey-left { left: max(2px, calc((100% - 1216px) / 2 - 93px)); }
.journey-right { display: none; }
.journey-echo { opacity: .35; }
.journey-arrow { stroke-width: 2.5; }
.journey-sketch { position: absolute; right: 8%; bottom: 18px; color: var(--wine); opacity: .25; transform: rotate(14deg); }
.journey-sketch .doodle { width: 50px; height: 50px; }
.tone-wine .journey-background { color: var(--lime); }
.tone-wine .journey-edge { opacity: .38; }
.tone-wine .journey-sketch { color: var(--lime); opacity: .55; }
.next-section-hint { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: fit-content; margin: 8px auto -46px; gap: 14px; font-family: var(--handwriting); font-size: 16px; color: var(--wine); }
.next-section-hint .doodle { width: 34px; height: 34px; transform: rotate(85deg); }
.image-card .card-body { position: relative; }
.image-card .card-doodle { float: right; margin: -4px 0 12px 16px; opacity: .8; }
.image-card .card-doodle .doodle { width: 30px; height: 30px; }
.image-card .card-body h3 { clear: both; }
.nav-icon { display: inline-flex; color: currentColor; }
.nav-icon .doodle { width: 22px; height: 22px; }
.site-header .nav-icon { display: none; }
.site-footer nav a { display: flex; align-items: center; gap: 10px; }
.content-form .field label { display: flex; align-items: center; gap: 10px; }
.content-form .field label .doodle { width: 22px; height: 22px; color: var(--wine); transform: rotate(-4deg); }
@media (max-width: 1350px) {
  .journey-edge { width: 26px; }
}
@media (max-width: 1000px) {
  .menu-open nav > a:not(.button) { display: flex; align-items: center; gap: 16px; }
  .menu-open .nav-icon { display: inline-flex; color: var(--wine); }
  .menu-open .nav-icon .doodle { width: 28px; height: 28px; }
}
@media (max-width: 650px) {
  .journey-edge { width: 19px; opacity: .16; }
  .journey-sketch { right: 24px; bottom: 12px; opacity: .22; }
  .journey-sketch .doodle { width: 32px; height: 32px; }
  .next-section-hint { font-size: 13px; margin: 18px auto -28px; gap: 8px; }
  .next-section-hint .doodle { width: 28px; height: 28px; }
}
@media (max-width: 1000px) {
  .home-hero-grid { gap: 30px; }
  .home-hero h1 { font-size: 58px; }
  .hand-note { font-size: 16px; }
  .photo-note { font-size: 15px; padding: 12px 20px 13px 15px; right: 10px; }
  .photo-frame figcaption { font-size: 16px; }
  .person-card h3 { font-size: 19px; }
}
@media (max-width: 650px) {
  .home-hero { min-height: 0; padding: 26px 0 48px; }
  .home-hero .container { padding-block: 0; }
  .home-hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 40px; }
  .home-hero h1 { font-size: 48px; }
  .home-hero .hero-text { font-size: 17px; }
  .home-hero .eyebrow { font-size: 10px; }
  .hand-note { font-size: 16px; gap: 8px; margin-bottom: 24px; }
  .hand-note .doodle { width: 24px; height: 24px; }
  .hero-team-link { font-size: 14px; margin-top: 22px; }
  .photo-frame { padding: 8px 8px 0; transform: rotate(1deg); }
  .home-hero .photo-frame { margin-bottom: 24px; }
  .photo-frame img { height: 260px; }
  .photo-frame figcaption { font-size: 15px; padding: 13px 4px 16px; }
  .home-hero .photo-frame figcaption { padding: 14px 5px 26px; padding-right: 92px; }
  .photo-note { position: relative; right: auto; bottom: auto; width: fit-content; margin: 0 8px 14px auto; font-size: 15px; }
  .photo-note .doodle { width: 25px; height: 25px; }
  .hero-grid { gap: 38px; }
  .page-hero { padding-top: 32px; }
  .section-flourish { right: 20px; top: 12px; opacity: .23; }
  .section-flourish .doodle { width: 42px; height: 42px; }
  .tone-wine { border-radius: 26px 26px 0 0; }
  .tone-wine .section-flourish { opacity: .45; }
  .person-card { margin-inline: 2px; }
  .person-card h3 { font-size: 22px; }
  .filter-controls { padding: 20px; }
  .content-form { padding: 20px; }
  .content-form .button { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
