/* Gullivers – Stylesheet */
@font-face { font-family: "Gullivers Display"; src: url("../fonts/InterDisplay-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Gullivers Display"; src: url("../fonts/InterDisplay-BlackItalic.woff") format("woff"); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  --teal: #00a3ad;
  --teal-dark: #007f87;
  --magenta: #e6007e;
  --grey: #f2f2f2;
  --grey-2: #e2e2e2;
  --ink: #333333;
  --ink-2: #3d3d3d;
  --muted: #5a5a5a;
  --white: #ffffff;
  --wrap: 1200px;
  --display: "Gullivers Display", "Arial Black", Impact, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --brush: url("../img/brush.svg");
}
* { box-sizing: border-box; border-radius: 0; box-shadow: none; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
a { color: var(--ink); font-weight: 600; text-decoration-color: var(--teal); text-decoration-thickness: 3px; text-underline-offset: 4px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .02em; word-spacing: .08em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 8vw, 6.6rem); font-style: italic; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: .03em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Topbar */
.topbar { background: var(--ink); color: var(--white); font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--teal); }
.claim { font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .02em; color: var(--white); }
.tb-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.tb-contact .addr { color: #9a9a9a; }

/* Header */
.site-header { background: var(--grey); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 16px; }
.logo { display: flex; align-items: center; transition: transform .2s; }
.logo:hover { transform: rotate(-3deg); }
.logo img { height: 52px; width: auto; display: block; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-header nav a {
  display: block; padding: 10px 10px 12px; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 900; font-size: .86rem; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap;
  background: no-repeat center bottom 2px / 0 10px var(--brush); transition: background-size .2s;
}
.site-header nav a:hover, .site-header nav a[aria-current="page"] { background-size: calc(100% - 12px) 10px; color: var(--ink); }
.nav-toggle, .burger { display: none; }
@media (max-width: 1140px) {
  .burger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px; }
  .burger span { width: 30px; height: 4px; background: var(--ink); }
  .burger span:nth-child(2) { width: 22px; background: var(--teal); }
  .site-header .wrap { flex-wrap: wrap; }
  .site-header nav { display: none; width: 100%; padding-bottom: 16px; }
  .nav-toggle:checked ~ nav { display: block; }
  .site-header nav ul { flex-direction: column; }
  .site-header nav a { font-size: 1.3rem; background-position: left 10px bottom 6px; }
  .site-header nav a:hover, .site-header nav a[aria-current="page"] { background-size: 140px 12px; }
  .logo img { height: 42px; }
  .tb-contact .addr { display: none; }
}

/* Buttons */
.btn {
  display: inline-block; color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 900; font-style: italic; letter-spacing: .01em; font-size: 1.2rem;
  padding: 6px 4px 16px; margin: 8px 26px 8px 0;
  background: url("../img/brush.svg") no-repeat left bottom / 100% 11px; transition: background-size .2s, color .2s;
}
.btn:hover { color: var(--ink); background-image: url("../img/brush-magenta.svg"); background-size: 100% 14px; }
.btn-dark { background-image: url("../img/brush-grey.svg"); }

/* Startseite Hero */
.hero-home { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero-home-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; }
.hero-text { background: var(--grey); padding: 48px 44px 40px; }
.hero-home h1 { font-size: clamp(1.9rem, 4.1vw, 3.4rem); }
.hero-home-grid > * { min-width: 0; }
.hero-home .lead { max-width: 560px; font-size: 1.15rem; color: #2a2a2a; }
.hero-photo { position: relative; }
.hero-photo img, .hero-photo .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%); }
.hero-tape {
  position: absolute; left: -20px; bottom: 30px; margin: 0; background: var(--teal); color: var(--white);
  padding: 14px 26px 12px; transform: rotate(-4deg); font-family: var(--display); text-transform: uppercase; line-height: .95;
}
.hero-tape b { display: block; white-space: nowrap; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-style: italic; letter-spacing: .02em; }
.hero-tape span { display: block; font-size: clamp(.85rem, 1.4vw, 1.1rem); letter-spacing: .22em; margin-top: 6px; font-weight: 900; }
@media (max-width: 860px) {
  .hero-home { padding: 32px 0 48px; }
  .hero-home-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; margin: 0 6px 18px 14px; }
  .hero-tape { left: -10px; bottom: 16px; padding: 10px 18px 9px; }
  .hero-text { padding: 30px 22px 24px; }
}

/* Unterseiten Hero */
.hero { padding: 56px 0 52px; position: relative; overflow: hidden; background: var(--grey); margin-bottom: 28px; }
.hero::after {
  content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 320px;
  background: url("../img/spray.svg") no-repeat center / contain; opacity: .18; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
.lead { font-size: 1.12rem; }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; gap: 26px; } .hero { padding: 34px 0 28px; } }

/* Bilder und Platzhalter */
.ph {
  margin: 0; aspect-ratio: 3 / 2; background: #fbfbfb;
  display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: .85rem;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 16px, rgba(0,163,173,.08) 16px, rgba(0,163,173,.08) 32px);
}
.ph code { font-size: .8rem; }
.hero-grid .ph, .hero-grid img { clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%); }
.hero-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

/* Kacheln */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px 28px; padding: 24px 0 80px; }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.tile .ph, .tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .25s; }
.tile img { display: block; }
.tile-media { overflow: hidden; }
.tile:hover .ph, .tile:hover img { transform: scale(1.04) rotate(-.6deg); }
.tile { background: var(--grey); }
.tile-body { padding: 0 22px 22px; margin-top: -24px; position: relative; z-index: 1; flex: 1; }
.tile-body h2 {
  display: inline-block; background: var(--ink-2); color: var(--white); font-size: 1.45rem; font-style: italic;
  padding: 8px 14px 6px; transform: rotate(-2deg); margin-bottom: 14px; transition: background .2s;
}
.tile:hover .tile-body h2 { background: var(--teal); }
.tile-body p { color: var(--muted); margin-bottom: .6em; }
.more { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: .85rem; color: var(--teal-dark); letter-spacing: .02em; }
.tile:hover .more { color: var(--magenta); }

/* Kontakt-Kachel breit */
.tile:last-child { grid-column: 1 / -1; display: block; background: var(--teal); color: var(--white); }
.tile:last-child .tile-media { height: 100%; }
.tile:last-child .ph, .tile:last-child img { height: 100%; }
.tile:last-child .tile-body { margin: 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.tile:last-child .tile-body h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); background: none; padding: 0; transform: none; }
.tile:last-child:hover .tile-body h2 { background: none; }
.tile:last-child p { color: var(--white); font-size: 1.15rem; }
.tile:last-child .more { color: var(--ink); }
.tile:last-child:hover .more { color: var(--white); }
@media (max-width: 760px) { .tile:last-child { grid-template-columns: 1fr; } .tile:last-child .tile-body { padding: 28px 22px; } }

/* Inhalte */
.content { padding: 24px 16px 80px; }
.course { padding: 38px 40px; background: var(--grey); margin-bottom: 24px; }
.course > h2 { display: inline-block; padding: 0 6px 10px 0; background: no-repeat left bottom / 100% 12px var(--brush); }
.course > p { max-width: 820px; }
.course dl { margin: 22px 0 0; }
.course dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid #d9d9d9; }
.course dt { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: .88rem; letter-spacing: .02em; padding-top: 3px; }
.course dd { margin: 0; }
@media (max-width: 640px) { .course { padding: 26px 20px; } .course dl > div { grid-template-columns: 1fr; gap: 2px; } }
.note { background: var(--grey); padding: 20px 24px; margin: 0 0 24px; border-left: 6px solid var(--teal); }

.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 10px 0 36px; }
.module { background: var(--grey); padding: 26px 24px 22px; position: relative; }
.module::before { content: ""; position: absolute; left: 24px; top: 0; width: 52px; height: 6px; background: var(--teal); }
.module:first-child::before { background: var(--magenta); }
.module h3 { font-style: italic; }
.module p { margin-bottom: .4em; }
.kb { font-size: .8rem; color: var(--teal-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.checks { padding-left: 0; list-style: none; margin: 0; }
.checks li { padding: 7px 0 7px 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 6px; background: var(--teal); transform: skewX(-20deg); }

.table-wrap { overflow-x: auto; margin: 18px 0 1em; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 13px 14px; vertical-align: top; }
th { background: var(--ink); color: var(--white); font-family: var(--display); text-transform: uppercase; font-size: .82rem; letter-spacing: .03em; }
tbody td { background: var(--white); border-bottom: 1px solid var(--grey); }

.contact-box { background: var(--grey); color: var(--ink); padding: 44px 40px; margin-top: 0; position: relative; overflow: hidden; }
.contact-box::after { content: ""; position: absolute; right: -50px; bottom: -80px; width: 300px; height: 280px; background: url("../img/spray.svg") no-repeat center / contain; opacity: .85; }
.contact-box h2 { color: var(--ink); font-size: clamp(2rem, 4.6vw, 3.4rem); font-style: italic; position: relative; z-index: 1; }
.contact-box p { position: relative; z-index: 1; margin: 0; }
@media (max-width: 640px) { .contact-box { padding: 32px 22px; } .contact-box::after { width: 170px; height: 160px; right: -40px; bottom: -50px; } }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.legal { max-width: 860px; margin-top: 40px; background: var(--grey); padding: 40px 44px; }
@media (max-width: 640px) { .legal { padding: 28px 20px; } }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.legal h2 { margin-top: 1.4em; font-size: 1.5rem; }
.legal h3 { margin-top: 1.2em; }
.todo { background: var(--white); border-left: 6px solid var(--magenta); padding: 10px 14px; }

/* Footer */
.site-footer { background: var(--grey); color: var(--muted); margin-top: 0; padding: 56px 0 48px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 14px; }
.site-footer a { color: var(--ink); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--teal); }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Sprachumschalter */
.lang { display: flex; gap: 2px; flex-wrap: wrap; }
.lang a { color: #cfcfcf; text-decoration: none; font-weight: 600; padding: 2px 8px; font-size: .84rem; }
.lang a:hover { color: var(--white); }
.lang a[aria-current="true"] { color: var(--white); background: no-repeat center bottom / calc(100% - 12px) 5px url("../img/brush.svg"); }
.legal-lang { font-size: .8rem; color: var(--muted); }
@media (max-width: 760px) {
  .topbar .wrap { gap: 6px 14px; }
  .lang { width: 100%; margin: 0 -8px; }
}

/* Lange Menüs (Russisch, Türkisch) */
html[lang="ru"] .site-header nav a, html[lang="tr"] .site-header nav a { font-size: .76rem; padding-left: 7px; padding-right: 7px; }

/* Arabisch: von rechts nach links */
[dir="rtl"] body, [dir="rtl"] { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .btn, [dir="rtl"] .claim, [dir="rtl"] .hero-tape, [dir="rtl"] .more,
[dir="rtl"] .course dt, [dir="rtl"] .site-header nav a, [dir="rtl"] th {
  font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif; font-style: normal; letter-spacing: 0; font-weight: 800;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.3; }
[dir="rtl"] .hero-tape { left: auto; right: -20px; transform: rotate(4deg); }
[dir="rtl"] .hero-tape b { font-style: normal; }
[dir="rtl"] .tile-body h2 { transform: rotate(2deg); font-style: normal; }
[dir="rtl"] .note { border-left: 0; border-right: 6px solid var(--teal); }
[dir="rtl"] .module::before { left: auto; right: 24px; }
[dir="rtl"] .checks li { padding: 7px 32px 7px 0; }
[dir="rtl"] .checks li::before { left: auto; right: 0; }
[dir="rtl"] .course > h2 { padding: 0 0 10px 6px; background-position: right bottom; }
[dir="rtl"] .btn { background-position: right bottom; }
[dir="rtl"] .site-header nav a { background-position: center bottom 2px; }
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
[dir="rtl"] .hero-grid .ph, [dir="rtl"] .hero-grid img, [dir="rtl"] .hero-photo img { clip-path: polygon(0 0, 97% 0, 100% 100%, 3% 100%); }
[dir="rtl"] .hero::after { right: auto; left: -60px; }
[dir="rtl"] .contact-box::after { right: auto; left: -50px; }
@media (max-width: 860px) { [dir="rtl"] .hero-tape { right: -10px; } }
.block-h { margin: 12px 0 18px; display: inline-block; padding: 0 6px 10px 0; background: no-repeat left bottom / 100% 12px var(--brush); }
[dir="rtl"] .block-h { padding: 0 0 10px 6px; background-position: right bottom; }
.nc { text-transform: none; }
.start-tag {
  display: inline-block; margin: 0 0 18px; padding: 6px 14px 5px; background: var(--teal); color: var(--white);
  font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .02em; transform: rotate(-2deg);
}
[dir="rtl"] .start-tag { font-family: inherit; font-style: normal; transform: rotate(2deg); }
.kb span { text-transform: none; }
.plan-note { background: var(--white); border-left: 8px solid var(--teal); padding: 14px 18px; font-weight: 600; max-width: 600px; margin: 0 0 18px; }
[dir="rtl"] .plan-note { border-left: 0; border-right: 8px solid var(--teal); }
