/* ==========================================================================
   Computerschule Klosterneuburg – weitz.at
   Design-System 2026
   Markenfarbe Orange: #FF6500 (exakt wie bisher, rgb(255,101,0))
   ========================================================================== */

:root {
  --orange:        #ff6500;
  --orange-dark:   #d95500;
  --orange-light:  #fff2e9;
  --ink:           #14181d;
  --ink-soft:      #3d454f;
  --muted:         #6b7280;
  --line:          #e6e8ec;
  --bg:            #ffffff;
  --bg-alt:        #f7f8fa;
  --radius:        14px;
  --radius-sm:     8px;
  --shadow:        0 1px 2px rgba(20,24,29,.04), 0 8px 24px rgba(20,24,29,.06);
  --shadow-lg:     0 2px 4px rgba(20,24,29,.04), 0 18px 48px rgba(20,24,29,.10);
  --max:           1180px;
  --font-head:     'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:     'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* --------------------------------------------------------------- Reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1.1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* -------------------------------------------------------------- Header -- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand:hover { text-decoration: none; }

/* Das animierte GIF der bisherigen Website bleibt als Logo erhalten */
.brand__logo { width: 48px; height: 49px; flex: 0 0 auto; }

.brand__name {
  font-family: var(--font-head);
  font-size: 1.32rem; font-weight: 700; line-height: 1.1;
  color: var(--ink); text-transform: uppercase; letter-spacing: .01em;
}
.brand__claim {
  display: block; font-family: var(--font-body);
  font-size: .74rem; font-weight: 400; letter-spacing: .04em;
  color: var(--muted); text-transform: none; margin-top: 3px;
}

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px;
  cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

.nav ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-size: .96rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
  color: var(--ink); text-decoration: none;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--orange-light); color: var(--orange-dark); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--orange); }
.nav a.nav-cta {
  background: var(--orange); color: #fff; margin-left: 8px;
}
.nav a.nav-cta:hover { background: var(--orange-dark); color: #fff; }

/* ------------------------------------------------------------ Untermenü -- */

.nav li.has-sub { position: relative; }

.nav .has-sub > a { display: flex; align-items: center; gap: 7px; }
.nav .has-sub > a::after {
  content: ""; width: 9px; height: 9px; flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314181d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .15s;
}
.nav li.has-sub:hover > a::after,
.nav li.has-sub:focus-within > a::after { transform: rotate(180deg); }

.nav .subnav {
  position: absolute; top: 100%; left: 0; z-index: 20;
  min-width: 258px; margin: 0; padding: 8px;
  list-style: none; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav li.has-sub:hover > .subnav,
.nav li.has-sub:focus-within > .subnav {
  opacity: 1; visibility: visible; transform: none;
}
.nav .subnav li { margin: 0; }
.nav .subnav a {
  padding: 11px 14px; white-space: nowrap;
  font-size: .93rem; letter-spacing: .02em;
}

/* ------------------------------------------------- Orangener Infobalken -- */

.infobar { background: var(--orange); color: #fff; }

.infobar__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; padding: 18px 0;
}

.infobar__item {
  display: flex; align-items: center; gap: 16px;
  padding: 6px 18px;
  border-left: 1px solid rgba(255,255,255,.28);
}
.infobar__item:first-child { border-left: 0; }

.infobar__icon { width: 42px; height: 42px; flex: 0 0 auto; color: #fff; }

.infobar__title {
  font-family: var(--font-head); font-size: 1.18rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .01em; line-height: 1.2;
}
.infobar__title a { color: #fff; text-decoration: none; }
.infobar__title a:hover { text-decoration: underline; }
.infobar__sub { font-size: .86rem; line-height: 1.45; color: rgba(255,255,255,.92); }
.infobar__sub a { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------- Hero -- */

.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,24,29,.92) 0%, rgba(20,24,29,.72) 45%, rgba(255,101,0,.28) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 96px 0 104px; max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__lead { font-size: 1.16rem; color: rgba(255,255,255,.9); margin-bottom: 2em; }
.hero__hint {
  margin: 18px 0 0; font-size: .92rem; color: rgba(255,255,255,.72);
  display: flex; align-items: center; gap: 9px;
}
.hero__hint::before {
  content: ""; width: 17px; height: 17px; flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6500' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.eyebrow {
  display: inline-block; margin-bottom: 20px; padding: 7px 14px;
  background: var(--orange); border-radius: 100px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: #fff;
}
.eyebrow--light { background: var(--orange-light); color: var(--orange-dark); }

/* --------------------------------------------------------------- Buttons -- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; border: 2px solid transparent;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { border-color: var(--orange); color: var(--orange-dark); }
.btn--outline:hover { background: var(--orange); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------ Sektionen -- */

.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 60px 0; }

.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; margin-bottom: 0; }

.page-head { padding: 72px 0 12px; }
.page-head h1 { margin-bottom: .3em; }
.page-head__lead { font-size: 1.14rem; max-width: 680px; margin-bottom: 0; }

/* ---------------------------------------------------------------- Grids -- */

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 16 / 10; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 26px 26px 30px; }
.card__body h3 { margin-bottom: .5em; }
.card__body p:last-child { margin-bottom: 0; }

.card__icon {
  width: 46px; height: 46px; margin-bottom: 18px;
  color: var(--orange);
}

/* ------------------------------------------------------------ Split-Row -- */

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.split + .split { margin-top: 80px; }

/* ----------------------------------------------------------- Checkliste -- */

.checklist { list-style: none; margin: 0 0 1.4em; padding: 0; }
.checklist li {
  position: relative; padding-left: 34px; margin-bottom: 12px;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6500' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ------------------------------------------------------------- Personen -- */

.person { text-align: left; }
.person__photo {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 22px; box-shadow: var(--shadow);
}
.person__role {
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--orange);
  margin-bottom: 6px;
}
.person h3 { margin-bottom: .4em; }

/* ------------------------------------------------------------ Downloads -- */

.dl-group { margin-bottom: 40px; }
.dl-group__head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.dl-group__head h3 { margin: 0; }
.dl-group__head svg { width: 30px; height: 30px; color: var(--orange); }

.dl-list { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }

.dl-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.dl-item:hover { border-color: var(--orange); box-shadow: var(--shadow); text-decoration: none; }
.dl-item__icon {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%;
  background: var(--orange-light); color: var(--orange-dark);
  display: grid; place-items: center;
}
.dl-item__icon svg { width: 20px; height: 20px; }
.dl-item__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.dl-item__meta { font-size: .84rem; color: var(--muted); }

/* ----------------------------------------------------------------- Note -- */

.note {
  padding: 24px 28px; background: var(--orange-light);
  border-left: 4px solid var(--orange); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }

/* ------------------------------------------------------------- Booking -- */

.booking-frame {
  width: 100%; min-height: 780px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}

/* ----------------------------------------------------------- CTA-Banner -- */

.cta { background: var(--ink); color: #fff; padding: 76px 0; }
.cta h2 { color: #fff; }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta p { color: rgba(255,255,255,.82); margin-bottom: 0; max-width: 560px; }

/* ------------------------------------------------------------- Rechtstext -- */

.legal { max-width: 820px; }
.legal h2 { margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 1em; }
.legal h3 { margin-top: 1.8em; font-size: 1.1rem; }
.legal ul { padding-left: 22px; }
.legal .address { font-style: normal; line-height: 1.75; }
.legal .footnotes {
  margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--muted);
}
.legal .footnotes p { margin-bottom: .7em; }

.factbox {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  padding: 30px; margin-bottom: 12px;
  background: var(--bg-alt); border-radius: var(--radius);
}
.factbox h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin-bottom: .6em; }

/* ================================================ Wissensmanagement -- */

/* Kategorie-Kacheln auf der Übersichtsseite */
.cat-card {
  display: block; padding: 30px 28px 32px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
  border-color: var(--orange); text-decoration: none;
}
.cat-card__letter {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  background: var(--orange); color: #fff; border-radius: 50%;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 700;
}
.cat-card h3 { margin-bottom: .4em; font-size: 1.16rem; }
.cat-card p { margin: 0; font-size: .93rem; color: var(--muted); }

/* Methodenliste je Kategorie */
.cat-block { margin-bottom: 64px; scroll-margin-top: 110px; }
.cat-block:last-child { margin-bottom: 0; }
.cat-block__head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 16px; margin-bottom: 26px;
  border-bottom: 2px solid var(--orange);
}
.cat-block__head .cat-card__letter { margin: 0; flex: 0 0 auto; }
.cat-block__head h2 { margin: 0; }

.method-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
.method-list a {
  display: flex; align-items: center; gap: 10px;
  height: 100%; padding: 15px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--ink); text-decoration: none;
  transition: border-color .15s, background .15s, color .15s;
}
.method-list a::before {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%;
  background: var(--orange);
}
.method-list a:hover {
  border-color: var(--orange); background: var(--orange-light);
  color: var(--orange-dark); text-decoration: none;
}

/* Brotkrumen */
.breadcrumb {
  margin-bottom: 18px; font-size: .88rem; color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange-dark); }
.breadcrumb span { margin: 0 8px; opacity: .55; }

/* Übernommener Inhalt aus wissensentwicklung.at */
.wm-content { max-width: 820px; }
.wm-content h2 { font-size: 1.5rem; margin-top: 1.8em; }
.wm-content h3 { font-size: 1.22rem; margin-top: 1.6em; }
.wm-content h4 { font-size: 1.05rem; margin-top: 1.4em; }
.wm-content h2:first-child, .wm-content h3:first-child { margin-top: 0; }
.wm-content ul, .wm-content ol { padding-left: 24px; margin-bottom: 1.2em; }
.wm-content li { margin-bottom: 8px; }
.wm-content img {
  max-width: 100%; height: auto; margin: 26px 0;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.wm-content table {
  width: 100%; border-collapse: collapse; margin: 26px 0;
  font-size: .95rem;
}
.wm-content th, .wm-content td {
  padding: 11px 14px; border: 1px solid var(--line);
  text-align: left; vertical-align: top;
}
.wm-content th { background: var(--bg-alt); font-family: var(--font-head); }
.wm-content tr:nth-child(even) td { background: #fbfbfc; }
.wm-content .table-scroll { overflow-x: auto; margin: 26px 0; }
.wm-content .table-scroll table { margin: 0; }

/* Nachbarnavigation unter dem Beitrag */
.pager {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
}
.pager a { font-family: var(--font-head); font-weight: 700; }
.pager span { color: var(--muted); }

@media (max-width: 980px) { .method-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .method-list { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- Footer -- */

.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: #fff; font-size: .88rem; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 18px;
}
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--orange); text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 40px; height: 41px; }
.footer-brand span {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: #fff; text-transform: uppercase; line-height: 1.2;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .86rem;
}

/* ----------------------------------------------------------- Responsive -- */

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .infobar__grid { grid-template-columns: 1fr; gap: 0; }
  .infobar__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.24); padding: 14px 0; }
  .infobar__item:first-child { border-top: 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav.is-open { max-height: 760px; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
  .nav a { padding: 14px 16px; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; justify-content: center; }

  /* Untermenü mobil: dauerhaft ausgeklappt, eingerückt */
  .nav .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 2px 0 6px 14px; margin-top: 2px;
    background: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; box-shadow: none;
  }
  .nav .subnav a { padding: 11px 16px; white-space: normal; }
  .nav .has-sub > a::after { display: none; }
  .header-inner { position: relative; min-height: 72px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero__inner { padding: 68px 0 76px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .dl-list { grid-template-columns: 1fr; }
  .factbox { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .brand__claim { display: none; }
  .wrap { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .infobar, .cta, .site-footer, .btn-row { display: none; }
  body { font-size: 11pt; color: #000; }
}
