:root {
  /* Branding */
  --theme-color-primary: #1C3A54;
  --theme-color-secondary: #1E54A6;

  /* Dark Theme Tokens */
  --bg: #111827;                /* Seitenhintergrund */
  --text: #E6E8EB;              /* Primärtext */
  --muted: #A3A7AD;             /* Sekundärtext */
  --surface: #151B28;           /* Karten/Boxen */
  --surface-2: #0F1623;         /* Abgesetzte Flächen, Header */
  --border: #2A3141;            /* Linien/Umrandungen */

  /* Form Controls */
  --input-bg: #1A2130;
  --input-border: #2D3445;
  --input-text: #E6E8EB;
  --input-placeholder: #8F96A6;
  --focus-ring: rgba(30, 84, 166, 0.6); /* Sekundärfarbe als Glow */
}

/* Base */
html, body {
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  font-size: 18px;
  text-align: center;
  padding: 0;
  margin: 0;
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typo */
h2 {
  color: var(--input-text);
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.1em;
  letter-spacing: -2px;
  margin: 0 0 0.6rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.hint {
  font-size: 0.8em;
  color: var(--muted);
}

footer {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
}

/* Layout / Medien */
header {
  margin-bottom: 2rem;
  text-align: left;
  padding: 1em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  box-sizing: border-box;
background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(15px);
}

header img {
  width: 100%;
  max-width: 200px;
}

.headerPic {
  background-image: url(../images/header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: top center;
  height: 100vH;
  width: 100vW;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
}
.full-content {
    margin-top: 35vH;
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
background: rgba(17, 24, 39, 0.1);
    backdrop-filter: blur(15px);
}
.surrAll {
  margin: 0 auto;
  max-width: 1900px;
  padding-top: 9px; /* Platz für fixed Header */
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}

.buttongrid {
  padding: 1em 0;
}

/* Karten / Boxen */
form {
  background-color: var(--surface);
  
  margin: 0 auto;
  width: 900px;
  max-width: calc(100% - 2rem);
  padding: 2rem;
  text-align: left;

  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

/* Buttons */
input[type="submit"],
button {
  background-color: var(--theme-color-primary);
  color: #FFFFFF;
  font-size: 1rem;
  padding: 0.6em 1.2em;
  font-weight: 600;
  text-transform: none;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  border-radius: 0;
  border: 1px solid transparent !important;
  transition: background-color 0.2s ease, transform 0.06s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

input[type="submit"]:hover,
button:hover {
  background-color: var(--theme-color-secondary);

}

input[type="submit"]:active,
button:active {
  transform: translateY(1px);
}

input[type="submit"]:disabled,
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Inputs / Select / Textarea */
input[type="url"],
input[type="text"],
input[type="password"],
select,
textarea {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--input-text);
  font-size: 16px;
  padding: 10px 14px;
  height: 44px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

textarea {
  min-height: 120px;
  height: auto;
  resize: vertical;
  line-height: 1.4;
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--theme-color-secondary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* States: Fehler/Hinweis optional (Klassen nutzbar) */
.input--error {
  border-color: #E06470 !important;
  box-shadow: 0 0 0 3px rgba(224, 100, 112, 0.35) !important;
}

.input--success {
  border-color: #3BAE8A !important;
  box-shadow: 0 0 0 3px rgba(59, 174, 138, 0.3) !important;
}

/* Feinheiten */
a {
  color: var(--theme-color-secondary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Scrollbar (WebKit) – dezent */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #0D1421;
}

*::-webkit-scrollbar-thumb {
  background: #2B3242;
  border-radius: 0;
  border: 2px solid #0D1421;
}

*::-webkit-scrollbar-thumb:hover {
  background: #3A4256;
}

details.options-section,
details.options-subsection {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #444;
 
}

details.options-section > summary h4,
details.options-subsection > summary h4 {
    display: inline;
    cursor: pointer;
}
.button-row {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.button-row button {
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
}

button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}
