/*
  Global stylesheet for the simplified Schuclu landing page.

  The colour palette is deliberately restrained: deep blues and greens
  reference the school's alpine setting, while warm accent tones draw
  attention to calls‑to‑action. A modern sans serif font keeps the
  appearance clean and accessible. This file applies to all pages in
  the site (index.html, kollegium.html and formulare.html).
*/

:root {
  --primary-color: #0a3c6f; /* deep blue for headers and footer */
  --secondary-color: #006d5b; /* green accent echoing the region's forests */
  --accent-color: #f0b429; /* warm gold for buttons and highlights */
  --light-color: #f9fafb; /* very light background for contrast */
  --text-color: #333333;
  --max-width: 1200px;
  --radius: 6px;
  font-size: 16px;
}

/* Global reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--light-color);
  line-height: 1.6;
}

/* Utility container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
}

/* Navigation bar */
header {
  background-color: var(--primary-color);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
}

.nav-brand {
 font-weight: bold;
  font-size: 2.1rem; /*1.2*/
  opacity: 0.7;
  transition: font-size 0.5s ease, letter-spacing 0.5s ease, opacity 0.5s ease;

  letter-spacing: 4px;



  
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

nav a:hover,
nav a:focus {
  opacity: 0.75;
}

/* Hero section */
.hero {
 /* background: linear-gradient(135deg, var(--primary-color) 30%, var(--secondary-color) 70%);    https://www.gymnasium-hermagor.at/images/banners/DJI-0001-4-Pano-klein.pn
  */
  background-image: url("./winter.png");
  background-repeat: no-repeat;
background-size: cover;
background-position: center;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-buttons a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.cta-buttons a:hover,
.cta-buttons a:focus {
  background-color: #d09b1c;
  color: white;
}

/* Section styling */
section {
  padding: 3rem 1rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-align: center;
}

section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.info-card:hover {
  transform: translateY(-3px);
}

.info-card h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.info-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.info-card a:hover,
.info-card a:focus {
  text-decoration: underline;
}

/* Staff page */
.staff-section {
  margin-top: 2rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.staff-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.staff-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.staff-card span {
  display: block;
  font-size: 0.9rem;
  color: #555;
}

/* Form list styling */
.form-section ul {
  list-style: none;
  padding-left: 0;
}

.form-section li {
  margin-bottom: 0.5rem;
}

.form-section a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.2s ease;
}

.form-section a:hover,
.form-section a:focus {
  border-bottom: 1px solid var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
  margin: 0 0.25rem;
  font-weight: 500;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
}





/* Quick Links */
.quick-links {
  background: var(--color-accent);
  padding: 2rem 0;
  color: white;
  text-align: center;
}

.quick-links h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.quick-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.quick-links-list li {
  margin: 0;
}

.quick-links-list a {
  display: inline-block;
  background: blue;
  color: var(--color-accent);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.quick-links-list a:hover {
  background: var(--color-primary);
  color: #fff;
}


.school-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}

.school-button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
  border-radius: 12px;
  padding: 12px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.school-button img {
  height: 40px;
  width: auto;
  background-color: white;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.school-button.brg {
  background-color: #8cc63f; /* Grün aus BRG-Logo */
}

.school-button.hlw {
  background-color: #00a1e0; /* Blau aus HLW-Logo */
}

.school-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* Keine Lücke zwischen Section und Navigation */
.hero-section {
  margin-bottom: 0;
}

/* Quicklink-Leiste */
.quicklinks {
  display: flex;
  justify-content: center;
  background-color: #f8f8f8;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  font-family: "Segoe UI", sans-serif;
}

/* Links */
.quicklinks a {
  color: #333;
  text-decoration: none;
  margin: 0 16px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

/* Icons */
.quicklinks i {
  font-size: 1.1rem;
  color: #555;
}

/* Hover-Effekt */
.quicklinks a:hover {
  color: #006bb3; /* dezentes Blau beim Hover */
}




/************LINK TESTS***/

.link-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f4ff, #e5ecff);
  font-family: "Poppins", sans-serif;
}

.link-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1e2a5e;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card i {
  font-size: 2rem;
  color: #3f51b5;
  margin-bottom: 10px;
}

.link-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
}

.link-card p {
  font-size: 0.9rem;
  color: #666;
}

.link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(63,81,181,0.25);
  color: #1e2a5e;
}

.link-card:hover i {
  color: #1e2a5e;
}







/*****Seite Kariere******/
  /* Cards */
    .grid{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
      gap:20px;
      margin-block:24px;
    }
    .gridvideo{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(530px,1fr));
      gap:20px;
      margin-block:24px;
    }
    .card{
      background:var(--card);
      border-radius:var(--radius);
      box-shadow:var(--shadow);
      padding:20px 20px 16px;
      transition:transform .25s ease, box-shadow .25s ease;
    }
    .card:hover{ transform:translateY(-4px); box-shadow:0 10px 32px rgba(63,81,181,.18); }
    .card h2{
      margin:0 0 10px;
      font-size:1.2rem;
    }
    .card p{ margin:0 0 8px; color:var(--muted); }
    .card ul{
      margin:10px 0 0 20px;
    }
    .card li{ margin:6px 0; }
    /* Arbeitsfelder as chips */
    .chips{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-top:12px;
    }
    .chip{
      background:var(--card);
      border-radius:999px;
      padding:8px 12px;
      border:1px solid #e7eafe;
      box-shadow:0 2px 10px rgba(0,0,0,.04);
      font-size:.95rem;
      color:var(--text);
      white-space:nowrap;
    }
     /* Links row */
    .links{
      display:flex;
      flex-wrap:wrap;
      gap:12px;
      margin-top:10px;
    }
    .links a{
      text-decoration:none;
      color:var(--accent);
      background:var(--chip);
      border:1px solid rgba(63,81,181,.18);
      padding:8px 12px;
      border-radius:999px;
      font-weight:600;
      transition:filter .2s ease, background .2s ease;
    }
    .links a:hover{ filter:brightness(.95); background:#e7ebff; }

    /**********anmeldeformular*************/
/* BORGREG FORM – komplett eigener Namespace */

.borgreg-form-wrapper {
  max-width: 960px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.borgreg-form-wrapper * {
  box-sizing: border-box;
}

.borgreg-form-title {
  font-size: 1.6rem;
  margin: 0 0 1rem;
  text-align: center;
}

.borgreg-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e0e0e0;
}

.borgreg-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.borgreg-section-title {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.borgreg-field-group {
  margin-bottom: 0.9rem;
}

.borgreg-field-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.borgreg-help-text {
  font-size: 0.85rem;
  color: #666666;
  margin: 0.2rem 0 0;
}

.borgreg-form-wrapper input[type="text"],
.borgreg-form-wrapper input[type="email"],
.borgreg-form-wrapper input[type="tel"],
.borgreg-form-wrapper input[type="date"],
.borgreg-form-wrapper input[type="number"],
.borgreg-form-wrapper select,
.borgreg-form-wrapper input[type="file"] {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #cccccc;
  font-size: 0.95rem;
}

.borgreg-form-wrapper input[type="file"] {
  padding: 0.3rem 0;
}

.borgreg-form-wrapper input:focus,
.borgreg-form-wrapper select:focus {
  outline: none;
  border-color: #0b63b8;
  box-shadow: 0 0 0 2px rgba(11, 99, 184, 0.18);
}

/* Layout-Gitter */

.borgreg-grid-2,
.borgreg-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1rem;
}

@media (min-width: 640px) {
  .borgreg-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .borgreg-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.borgreg-schooltype-info {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #444;
  background: #f6f8fc;
  border-left: 4px solid #0b63b8;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  line-height: 1.4;
}
#borgreg-schooltype-info ul {
  margin: 0.5rem 0 0.5rem 1.2rem;
  padding-left: 1rem;
}

#borgreg-schooltype-info li {
  margin: 0.2rem 0;
}
/* Inline-Optionen (z. B. Geschlecht) */

.borgreg-label-block {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.borgreg-inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

.borgreg-inline-options input[type="radio"] {
  margin-right: 0.25rem;
}

/* Buttons */

.borgreg-button-primary,
.borgreg-button-secondary {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.borgreg-button-primary {
  background: #0b63b8;
  color: #ffffff;
}

.borgreg-button-primary:hover {
  background: #094f92;
}

.borgreg-button-secondary {
  background: #f3f3f3;
  color: #333333;
}

.borgreg-button-secondary:hover {
  background: #e3e3e3;
}

/* Datenschutz / Checkbox */

.borgreg-checkbox-group label {
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.borgreg-checkbox-group input[type="checkbox"] {
  margin-top: 0.15rem;
}

/* Submit-Bereich */

.borgreg-section-submit {
  text-align: right;
}

/* Vorbildung-Einträge */

.borgreg-vorbildung-item {
  display: grid;
  grid-template-columns: 1fr 0.6fr auto;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: end;
}

.borgreg-vorbildung-item select,
.borgreg-vorbildung-item input {
  width: 100%;
}

.borgreg-vorbildung-remove {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #ffe5e5;
  font-size: 0.8rem;
}

.borgreg-vorbildung-remove:hover {
  background: #ffcccc;
}

/* Hidden-Utility */

.borgreg-hidden {
  display: none;
}

/* Kleine Screens */

@media (max-width: 480px) {
  .borgreg-form-wrapper {
    margin: 1rem;
    padding: 1rem;
    border-radius: 10px;
  }

  .borgreg-form-title {
    font-size: 1.3rem;
  }

  .borgreg-vorbildung-item {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "schule schule"
      "jahre remove";
  }

  .borgreg-vorbildung-item select {
    grid-area: schule;
  }

  .borgreg-vorbildung-item input {
    grid-area: jahre;
  }

  .borgreg-vorbildung-remove {
    grid-area: remove;
    justify-self: flex-start;
  }

  .borgreg-section-submit {
    text-align: left;
  }
}
/* Nur am Handy anzeigen: Speiseplan, Kollegium, Hausordnung */
@media (max-width: 700px) {
  .quicklinks a {
    display: none; /* Alle Links ausblenden */
  }

  .quicklinks a[href="./speise.html"],
  .quicklinks a[href="./lehrer/kacheln.php"],
  .quicklinks a[href="./hausordnung.pdf"] {
    display: inline-flex; /* Nur diese drei anzeigen */
  }
}

