:root{
  --clr-primary:#96DCF8;
  --clr-accent:#B4E5A2;
  --clr-bg:#EEEEEE;
  --clr-muted:#747474;
  --clr-text:#000000;

  --radius:12px;
  --shadow-sm:0 2px 10px rgba(0,0,0,.06);
  --shadow-md:0 6px 18px rgba(0,0,0,.08);

  --space-1:0.5rem;
  --space-2:0.75rem;
  --space-3:1rem;
  --space-4:1.5rem;
  --space-5:2rem;

  --font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  font-size:16px;
  line-height:1.5;
  color:var(--clr-text);
  background:var(--clr-bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{max-width:100%;height:auto;display:block}
a{color:#0b72b9;text-decoration:none}
a:hover{text-decoration:underline}

/* Layout helpers (mobile-first) */
.container{
  width:100%;
  max-width:720px;
  margin-inline:auto;
  padding-inline:var(--space-3);
  padding-block:var(--space-4);
}

.card{
  background:#fff;
  border:1px solid #e9e9e9;
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:var(--space-4);
}

.header, .footer{
  text-align:center;
  color:var(--clr-muted);
  padding:var(--space-3);
}

/* Typography */
h1,h2,h3{margin:0 0 var(--space-3) 0; line-height:1.2}
h1{font-size:1.5rem}
h2{font-size:1.25rem}
p{margin:0 0 var(--space-3) 0}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  font-weight:600;
  padding:.8rem 1.1rem;
  border-radius:10px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-align:center;
  min-height:44px; /* gutes Tap-Target */
}

.btn:disabled{opacity:.55; cursor:not-allowed}

.btn-primary{
  background:var(--clr-primary);
  color:#000;
  border-color:#7ccbe9;
  box-shadow:var(--shadow-sm);
}
.btn-primary:hover:not(:disabled){
  background:#85d4f2;
  border-color:#69bfe3;
}
.btn-primary:active:not(:disabled){transform:translateY(1px)}

.btn-secondary{
  background:var(--clr-accent);
  color:#000;
  border-color:#9edb87;
}
.btn-secondary:hover:not(:disabled){background:#a9e094}

/* Forms */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
select, textarea{
  width:100%;
  background:#fff;
  color:var(--clr-text);
  border:1px solid #dcdcdc;
  border-radius:10px;
  padding:.75rem .9rem;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
  min-height:44px;
}

input:focus, select:focus, textarea:focus{
  border-color:#9bd7f1;
  box-shadow:0 0 0 3px rgba(150,220,248,.35);
}

/* Alerts */
.alert{
  width:100%;
  padding:.75rem 1rem;
  border-radius:10px;
  border:1px solid transparent;
  margin-bottom:var(--space-3);
}
.alert-info{
  background:#eef6ff;
  border-color:#c5def7;
  color:#215680;
}
.alert-warning{
  background:#fff7e6;
  border-color:#ffe1a6;
  color:#7a4b00;
}

/* Utility spacing */
.mt-1{margin-top:var(--space-1)}
.mt-2{margin-top:var(--space-2)}
.mt-3{margin-top:var(--space-3)}
.mt-4{margin-top:var(--space-4)}
.mb-1{margin-bottom:var(--space-1)}
.mb-2{margin-bottom:var(--space-2)}
.mb-3{margin-bottom:var(--space-3)}
.mb-4{margin-bottom:var(--space-4)}
.text-center{text-align:center}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce){
  *{transition:none !important; animation:none !important}
}

/* Small tweaks for very small screens */
@media (max-width: 380px){
  .container{padding-inline:var(--space-2)}
  .card{padding:var(--space-3)}
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}